1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00

fix typo in tests and tx-state-manager

This commit is contained in:
Jeffrey Tong 2018-03-07 10:24:36 -08:00
parent 57dc5a6e9b
commit cad5f5f000
3 changed files with 5 additions and 5 deletions

View File

@ -4,7 +4,7 @@ const ObservableStore = require('obs-store')
const ethUtil = require('ethereumjs-util') const ethUtil = require('ethereumjs-util')
const txStateHistoryHelper = require('./tx-state-history-helper') const txStateHistoryHelper = require('./tx-state-history-helper')
module.exports = class TransactionStateManger extends EventEmitter { module.exports = class TransactionStateManager extends EventEmitter {
constructor ({ initState, txHistoryLimit, getNetwork }) { constructor ({ initState, txHistoryLimit, getNetwork }) {
super() super()

View File

@ -1,11 +1,11 @@
const assert = require('assert') const assert = require('assert')
const MessageManger = require('../../app/scripts/lib/message-manager') const MessageManager = require('../../app/scripts/lib/message-manager')
describe('Message Manager', function () { describe('Message Manager', function () {
let messageManager let messageManager
beforeEach(function () { beforeEach(function () {
messageManager = new MessageManger() messageManager = new MessageManager()
}) })
describe('#getMsgList', function () { describe('#getMsgList', function () {

View File

@ -5,7 +5,7 @@ const TxStateManager = require('../../app/scripts/lib/tx-state-manager')
const txStateHistoryHelper = require('../../app/scripts/lib/tx-state-history-helper') const txStateHistoryHelper = require('../../app/scripts/lib/tx-state-history-helper')
const noop = () => true const noop = () => true
describe('TransactionStateManger', function () { describe('TransactionStateManager', function () {
let txStateManager let txStateManager
const currentNetworkId = 42 const currentNetworkId = 42
const otherNetworkId = 2 const otherNetworkId = 2
@ -281,4 +281,4 @@ describe('TransactionStateManger', function () {
}) })
}) })
}) })