mirror of
https://github.com/oven-sh/bun
synced 2026-02-10 10:58:56 +00:00
9 lines
281 B
JavaScript
9 lines
281 B
JavaScript
// This fixture tests that Jest global variables are injected into the global scope
|
|
// even when the file is NOT the entrypoint of the test.
|
|
import "./12034.fixture";
|
|
|
|
test("that an imported file can use Jest globals", () => {
|
|
expect(1).toBeOne();
|
|
expect(2).not.toBeOne();
|
|
});
|