diff options
author | Jeffrey Tong <trigun0x2@gmail.com> | 2018-03-08 02:24:36 +0800 |
---|---|---|
committer | Jeffrey Tong <trigun0x2@gmail.com> | 2018-03-08 02:24:36 +0800 |
commit | cad5f5f0009713a1101194d964af7a1620ea158c (patch) | |
tree | 53753bd04e6c9646c594327967b136af7a693f9f | |
parent | 57dc5a6e9b8ecc4414fe72397205d21cec13c5e1 (diff) | |
download | tangerine-wallet-browser-cad5f5f0009713a1101194d964af7a1620ea158c.tar tangerine-wallet-browser-cad5f5f0009713a1101194d964af7a1620ea158c.tar.gz tangerine-wallet-browser-cad5f5f0009713a1101194d964af7a1620ea158c.tar.bz2 tangerine-wallet-browser-cad5f5f0009713a1101194d964af7a1620ea158c.tar.lz tangerine-wallet-browser-cad5f5f0009713a1101194d964af7a1620ea158c.tar.xz tangerine-wallet-browser-cad5f5f0009713a1101194d964af7a1620ea158c.tar.zst tangerine-wallet-browser-cad5f5f0009713a1101194d964af7a1620ea158c.zip |
fix typo in tests and tx-state-manager
-rw-r--r-- | app/scripts/lib/tx-state-manager.js | 2 | ||||
-rw-r--r-- | test/unit/message-manager-test.js | 4 | ||||
-rw-r--r-- | test/unit/tx-state-manager-test.js | 4 |
3 files changed, 5 insertions, 5 deletions
diff --git a/app/scripts/lib/tx-state-manager.js b/app/scripts/lib/tx-state-manager.js index 051efd247..2eb006380 100644 --- a/app/scripts/lib/tx-state-manager.js +++ b/app/scripts/lib/tx-state-manager.js @@ -4,7 +4,7 @@ const ObservableStore = require('obs-store') const ethUtil = require('ethereumjs-util') const txStateHistoryHelper = require('./tx-state-history-helper') -module.exports = class TransactionStateManger extends EventEmitter { +module.exports = class TransactionStateManager extends EventEmitter { constructor ({ initState, txHistoryLimit, getNetwork }) { super() diff --git a/test/unit/message-manager-test.js b/test/unit/message-manager-test.js index 9b76241ed..5e7039841 100644 --- a/test/unit/message-manager-test.js +++ b/test/unit/message-manager-test.js @@ -1,11 +1,11 @@ const assert = require('assert') -const MessageManger = require('../../app/scripts/lib/message-manager') +const MessageManager = require('../../app/scripts/lib/message-manager') describe('Message Manager', function () { let messageManager beforeEach(function () { - messageManager = new MessageManger() + messageManager = new MessageManager() }) describe('#getMsgList', function () { diff --git a/test/unit/tx-state-manager-test.js b/test/unit/tx-state-manager-test.js index 02dc52967..220bf501f 100644 --- a/test/unit/tx-state-manager-test.js +++ b/test/unit/tx-state-manager-test.js @@ -5,7 +5,7 @@ const TxStateManager = require('../../app/scripts/lib/tx-state-manager') const txStateHistoryHelper = require('../../app/scripts/lib/tx-state-history-helper') const noop = () => true -describe('TransactionStateManger', function () { +describe('TransactionStateManager', function () { let txStateManager const currentNetworkId = 42 const otherNetworkId = 2 @@ -281,4 +281,4 @@ describe('TransactionStateManger', function () { }) }) -})
\ No newline at end of file +}) |