mirror of
https://github.com/oven-sh/bun
synced 2026-02-10 02:48:50 +00:00
14 lines
336 B
TypeScript
14 lines
336 B
TypeScript
import * as matchers from "@testing-library/jest-dom/matchers";
|
|
import { cleanup } from "@testing-library/react";
|
|
import { afterEach, expect, test } from "bun:test";
|
|
|
|
expect.extend(matchers);
|
|
afterEach(() => {
|
|
cleanup();
|
|
});
|
|
|
|
test("expect extended", () => {
|
|
// @ts-ignore
|
|
expect(expect.toBeInTheDocument).not.toBe(undefined);
|
|
});
|