diff options
test - typo - fix spelling of word stubbed
Diffstat (limited to 'test')
-rw-r--r-- | test/stub/provider.js | 4 | ||||
-rw-r--r-- | test/unit/pending-tx-test.js | 4 | ||||
-rw-r--r-- | test/unit/tx-controller-test.js | 4 | ||||
-rw-r--r-- | test/unit/tx-gas-util-test.js | 4 |
4 files changed, 8 insertions, 8 deletions
diff --git a/test/stub/provider.js b/test/stub/provider.js index 9f1405c9e..e1e6ffce6 100644 --- a/test/stub/provider.js +++ b/test/stub/provider.js @@ -5,7 +5,7 @@ module.exports = { createEngineForTestData, providerFromEngine, scaffoldMiddleware, - createStubedProvider, + createStubbedProvider, } @@ -18,7 +18,7 @@ function providerFromEngine (engine) { return provider } -function createStubedProvider (resultStub) { +function createStubbedProvider (resultStub) { const engine = createEngineForTestData() engine.push(scaffoldMiddleware(resultStub)) return providerFromEngine(engine) diff --git a/test/unit/pending-tx-test.js b/test/unit/pending-tx-test.js index bd47299cf..de2da6e36 100644 --- a/test/unit/pending-tx-test.js +++ b/test/unit/pending-tx-test.js @@ -3,7 +3,7 @@ const ethUtil = require('ethereumjs-util') const EthTx = require('ethereumjs-tx') const ObservableStore = require('obs-store') const clone = require('clone') -const { createStubedProvider } = require('../stub/provider') +const { createStubbedProvider } = require('../stub/provider') const PendingTransactionTracker = require('../../app/scripts/lib/pending-tx-tracker') const MockTxGen = require('../lib/mock-tx-gen') const sinon = require('sinon') @@ -39,7 +39,7 @@ describe('PendingTransactionTracker', function () { txParams: { from: '0x1678a085c290ebd122dc42cba69373b5953b831d'}, } providerResultStub = {} - provider = createStubedProvider(providerResultStub) + provider = createStubbedProvider(providerResultStub) pendingTxTracker = new PendingTransactionTracker({ provider, diff --git a/test/unit/tx-controller-test.js b/test/unit/tx-controller-test.js index 882a15334..d0f101e44 100644 --- a/test/unit/tx-controller-test.js +++ b/test/unit/tx-controller-test.js @@ -6,7 +6,7 @@ const ObservableStore = require('obs-store') const sinon = require('sinon') const TransactionController = require('../../app/scripts/controllers/transactions') const TxGasUtils = require('../../app/scripts/lib/tx-gas-utils') -const { createStubedProvider } = require('../stub/provider') +const { createStubbedProvider } = require('../stub/provider') const noop = () => true const currentNetworkId = 42 @@ -19,7 +19,7 @@ describe('Transaction Controller', function () { beforeEach(function () { providerResultStub = {} - provider = createStubedProvider(providerResultStub) + provider = createStubbedProvider(providerResultStub) txController = new TransactionController({ provider, diff --git a/test/unit/tx-gas-util-test.js b/test/unit/tx-gas-util-test.js index ccef31359..0e4393113 100644 --- a/test/unit/tx-gas-util-test.js +++ b/test/unit/tx-gas-util-test.js @@ -1,12 +1,12 @@ const assert = require('assert') const TxGasUtils = require('../../app/scripts/lib/tx-gas-utils') -const { createStubedProvider } = require('../stub/provider') +const { createStubbedProvider } = require('../stub/provider') describe('Tx Gas Util', function () { let txGasUtil, provider, providerResultStub beforeEach(function () { providerResultStub = {} - provider = createStubedProvider(providerResultStub) + provider = createStubbedProvider(providerResultStub) txGasUtil = new TxGasUtils({ provider, }) |