aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWhymarrh Whitby <whymarrh.whitby@gmail.com>2019-05-08 00:14:34 +0800
committerWhymarrh Whitby <whymarrh.whitby@gmail.com>2019-05-08 00:18:50 +0800
commit1de7dc9b41e8064f8e37dbfcb20736d06b84ae96 (patch)
treea53eccac7cb106c46104dc9460d6711015c1b975
parentd730da8caadfd1e893c342577c079adbbc7f2164 (diff)
downloadtangerine-wallet-browser-1de7dc9b41e8064f8e37dbfcb20736d06b84ae96.tar
tangerine-wallet-browser-1de7dc9b41e8064f8e37dbfcb20736d06b84ae96.tar.gz
tangerine-wallet-browser-1de7dc9b41e8064f8e37dbfcb20736d06b84ae96.tar.bz2
tangerine-wallet-browser-1de7dc9b41e8064f8e37dbfcb20736d06b84ae96.tar.lz
tangerine-wallet-browser-1de7dc9b41e8064f8e37dbfcb20736d06b84ae96.tar.xz
tangerine-wallet-browser-1de7dc9b41e8064f8e37dbfcb20736d06b84ae96.tar.zst
tangerine-wallet-browser-1de7dc9b41e8064f8e37dbfcb20736d06b84ae96.zip
Remove nock#restore call from actions.spec.js
This call was unmocking all of our HTTP requests, allowing further test cases to hit the network. Calling nock#restore should not be required.
-rw-r--r--test/unit/ui/app/actions.spec.js5
1 files changed, 0 insertions, 5 deletions
diff --git a/test/unit/ui/app/actions.spec.js b/test/unit/ui/app/actions.spec.js
index 86c3f8aff..edbcb4a8b 100644
--- a/test/unit/ui/app/actions.spec.js
+++ b/test/unit/ui/app/actions.spec.js
@@ -1196,7 +1196,6 @@ describe('Actions', () => {
describe('#pairUpdate', () => {
beforeEach(() => {
-
nock('https://shapeshift.io')
.defaultReplyHeaders({ 'access-control-allow-origin': '*' })
.get('/marketinfo/btc_eth')
@@ -1206,10 +1205,6 @@ describe('Actions', () => {
.defaultReplyHeaders({ 'access-control-allow-origin': '*' })
.get('/coins')
.reply(200)
- })
-
- afterEach(() => {
- nock.restore()
})
it('', () => {