Files
bun.sh/test/regression/issue/16312.test.ts
pfg b04ce670e3 Fix #16312 (#16322)
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com>
2025-01-10 20:04:16 -08:00

14 lines
336 B
TypeScript

import { test, afterEach, expect } from "bun:test";
import { cleanup } from "@testing-library/react";
import * as matchers from "@testing-library/jest-dom/matchers";
expect.extend(matchers);
afterEach(() => {
cleanup();
});
test("expect extended", () => {
// @ts-ignore
expect(expect.toBeInTheDocument).not.toBe(undefined);
});