Something went wrong. Try again.
[READ-ONLY] Mirror of https://github.com/crutchcorn/modern-python-enterprise-template. A modern Python enterprise template with a focus on p
Something went wrong. Try again.
332 B · 15 lines
TypeScript
at main
12345678910111213141516import "@testing-library/jest-dom/vitest";import { cleanup } from "@testing-library/react";import { afterAll, afterEach, beforeAll } from "vitest";import { worker } from "./server";
beforeAll(async () => { await worker.start();});
afterEach(() => { worker.resetHandlers(); cleanup();});
afterAll(() => worker.stop());