aboutsummaryrefslogtreecommitdiffstats
path: root/test/unit
diff options
context:
space:
mode:
authorThomas <tmashuang@gmail.com>2018-02-28 07:50:49 +0800
committerThomas <tmashuang@gmail.com>2018-02-28 07:50:49 +0800
commitb2f53fa35481006cba37d89ebf4c7a866be4f125 (patch)
treeb14a7a5ec332440cf56901197f649902a6f5eab7 /test/unit
parent8f7094a73d4ca5879e8290e3b1aefdc42397767d (diff)
downloadtangerine-wallet-browser-b2f53fa35481006cba37d89ebf4c7a866be4f125.tar
tangerine-wallet-browser-b2f53fa35481006cba37d89ebf4c7a866be4f125.tar.gz
tangerine-wallet-browser-b2f53fa35481006cba37d89ebf4c7a866be4f125.tar.bz2
tangerine-wallet-browser-b2f53fa35481006cba37d89ebf4c7a866be4f125.tar.lz
tangerine-wallet-browser-b2f53fa35481006cba37d89ebf4c7a866be4f125.tar.xz
tangerine-wallet-browser-b2f53fa35481006cba37d89ebf4c7a866be4f125.tar.zst
tangerine-wallet-browser-b2f53fa35481006cba37d89ebf4c7a866be4f125.zip
Revert initializing first-time-state
Diffstat (limited to 'test/unit')
-rw-r--r--test/unit/metamask-controller-test.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/unit/metamask-controller-test.js b/test/unit/metamask-controller-test.js
index ac984faf5..adeca9b5f 100644
--- a/test/unit/metamask-controller-test.js
+++ b/test/unit/metamask-controller-test.js
@@ -4,7 +4,7 @@ const clone = require('clone')
const nock = require('nock')
const MetaMaskController = require('../../app/scripts/metamask-controller')
const blacklistJSON = require('../stub/blacklist')
-const firstTimeState = require('../stub/first-time-state')
+const firstTimeState = require('../../app/scripts/first-time-state')
describe('MetaMaskController', function () {
let metamaskController
@@ -18,9 +18,9 @@ describe('MetaMaskController', function () {
.get('/v2/blacklist')
.reply(200, blacklistJSON)
- nock('https://rinkeby.infura.io')
+ nock('https://api.infura.io')
.persist()
- .post('/metamask')
+ .get(/.*/)
.reply(200)
metamaskController = new MetaMaskController({