openpanel/packages/appwrite/test/jest.setup.ts
Stefan Pejcic 09f9f9502d packages
2024-11-07 19:03:37 +01:00

10 lines
217 B
TypeScript

import nock from "nock";
// it's actually sending request to the server and print "mock" to console for you to copy and paste.
// nock.recorder.rec();
afterAll(async () => {
nock.cleanAll();
nock.restore();
});