Fix: apply change requests
This commit is contained in:
parent
3893ce3996
commit
4a763b87b4
3 changed files with 5 additions and 5 deletions
|
|
@ -126,10 +126,9 @@ function sendRadar (data) {
|
|||
timeout: TIMEOUT,
|
||||
maxContentLength: MAX_CONTENT_LENGTH
|
||||
}
|
||||
// console.log('%j', data)
|
||||
|
||||
return axios.default(config)
|
||||
.then(r => console.log(r.status))
|
||||
.then(r => console.log(r.status))
|
||||
}
|
||||
|
||||
function mapRecord (rates, settings) {
|
||||
|
|
|
|||
|
|
@ -1,7 +1,9 @@
|
|||
const yup = require('yup')
|
||||
|
||||
const BigNumber = require('../../../lib/bn')
|
||||
const car = require('../coinatmradar')
|
||||
const db = require('../../db')
|
||||
|
||||
jest.mock('../../db')
|
||||
|
||||
afterEach(() => {
|
||||
// https://stackoverflow.com/questions/58151010/difference-between-resetallmocks-resetmodules-resetmoduleregistry-restoreallm
|
||||
|
|
@ -241,8 +243,6 @@ function validateData(data) {
|
|||
return schema.validate(data)
|
||||
}
|
||||
|
||||
const db = require('../../db')
|
||||
jest.mock('../../db')
|
||||
test('Verify axios request schema', async () => {
|
||||
const axios = require('axios')
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue