|
|
|
@ -75,7 +75,7 @@ describe('config-manager', function() { |
|
|
|
|
this.timeout(15000) |
|
|
|
|
assert.equal(configManager.getConversionRate(), false) |
|
|
|
|
|
|
|
|
|
var usdMock = nock('https://www.cryptonator.com') |
|
|
|
|
var jpyMock = nock('https://www.cryptonator.com') |
|
|
|
|
.get('/api/ticker/eth-JPY') |
|
|
|
|
.reply(200, '{"ticker":{"base":"ETH","target":"JPY","price":"11.02456145","volume":"44948.91745289","change":"-0.01472534"},"timestamp":1472072136,"success":true,"error":""}') |
|
|
|
|
|
|
|
|
|