9 lines
149 B
TypeScript
9 lines
149 B
TypeScript
import nock from "nock";
|
|
import axios from "axios";
|
|
|
|
axios.defaults.adapter = "http";
|
|
|
|
afterAll(() => {
|
|
nock.cleanAll();
|
|
nock.restore();
|
|
});
|