Archived
10 lines
269 B
TypeScript
10 lines
269 B
TypeScript
import { afterEach, expect } from "bun:test";
|
|
import { cleanup } from "@testing-library/react";
|
|
import * as matchers from "@testing-library/jest-dom/matchers";
|
|
|
|
expect.extend(matchers);
|
|
|
|
// Optional: cleans up `render` after each test
|
|
afterEach(() => {
|
|
cleanup();
|
|
}); |