|
|
@ -1196,7 +1196,6 @@ describe('Actions', () => { |
|
|
|
|
|
|
|
|
|
|
|
describe('#pairUpdate', () => { |
|
|
|
describe('#pairUpdate', () => { |
|
|
|
beforeEach(() => { |
|
|
|
beforeEach(() => { |
|
|
|
|
|
|
|
|
|
|
|
nock('https://shapeshift.io') |
|
|
|
nock('https://shapeshift.io') |
|
|
|
.defaultReplyHeaders({ 'access-control-allow-origin': '*' }) |
|
|
|
.defaultReplyHeaders({ 'access-control-allow-origin': '*' }) |
|
|
|
.get('/marketinfo/btc_eth') |
|
|
|
.get('/marketinfo/btc_eth') |
|
|
@ -1206,10 +1205,6 @@ describe('Actions', () => { |
|
|
|
.defaultReplyHeaders({ 'access-control-allow-origin': '*' }) |
|
|
|
.defaultReplyHeaders({ 'access-control-allow-origin': '*' }) |
|
|
|
.get('/coins') |
|
|
|
.get('/coins') |
|
|
|
.reply(200) |
|
|
|
.reply(200) |
|
|
|
}) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
afterEach(() => { |
|
|
|
|
|
|
|
nock.restore() |
|
|
|
|
|
|
|
}) |
|
|
|
}) |
|
|
|
|
|
|
|
|
|
|
|
it('', () => { |
|
|
|
it('', () => { |
|
|
|