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

test - typo - fix spelling of word stubbed

This commit is contained in:
kumavis 2018-01-17 19:47:35 -08:00
parent 3cbf2b7e3e
commit d1d745eef4
4 changed files with 8 additions and 8 deletions

View File

@ -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)

View File

@ -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,

View File

@ -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,

View File

@ -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,
})