fix(axios): Updating axios

This commit is contained in:
Chris Troutner
2021-01-04 14:44:48 -08:00
parent 360f1509dd
commit 6926bbe113
4 changed files with 774 additions and 262 deletions
-8
View File
@@ -3,7 +3,6 @@
*/
const assert = require('chai').assert
const nock = require('nock') // http call mocking
const sinon = require('sinon')
// const axios = require("axios")
@@ -24,17 +23,10 @@ describe('#SLP NFT1', () => {
let sandbox
beforeEach(() => {
// Activate nock if it's inactive.
if (!nock.isActive()) nock.activate()
sandbox = sinon.createSandbox()
})
afterEach(() => {
// Clean up HTTP mocks.
nock.cleanAll() // clear interceptor list.
nock.restore()
sandbox.restore()
})