aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorkumavis <aaron@kumavis.me>2018-01-18 11:47:35 +0800
committerkumavis <aaron@kumavis.me>2018-01-18 11:47:35 +0800
commitd1d745eef4f8270a144e13af23c009773c3f3598 (patch)
tree4fcefbcc54e8e1e658f4da97428c045220d28e20 /test
parent3cbf2b7e3e8608ec5f79ffd64cc15bc633ef2466 (diff)
downloadtangerine-wallet-browser-d1d745eef4f8270a144e13af23c009773c3f3598.tar
tangerine-wallet-browser-d1d745eef4f8270a144e13af23c009773c3f3598.tar.gz
tangerine-wallet-browser-d1d745eef4f8270a144e13af23c009773c3f3598.tar.bz2
tangerine-wallet-browser-d1d745eef4f8270a144e13af23c009773c3f3598.tar.lz
tangerine-wallet-browser-d1d745eef4f8270a144e13af23c009773c3f3598.tar.xz
tangerine-wallet-browser-d1d745eef4f8270a144e13af23c009773c3f3598.tar.zst
tangerine-wallet-browser-d1d745eef4f8270a144e13af23c009773c3f3598.zip
test - typo - fix spelling of word stubbed
Diffstat (limited to 'test')
-rw-r--r--test/stub/provider.js4
-rw-r--r--test/unit/pending-tx-test.js4
-rw-r--r--test/unit/tx-controller-test.js4
-rw-r--r--test/unit/tx-gas-util-test.js4
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,
})