blob: 43b08731d189e594d5679c980a1101a0d2779b6c (
plain) (
blame)
1
2
3
4
5
6
7
8
|
import { expect, test } from "bun:test";
test("not implemented yet module masquerades as undefined and throws an error", () => {
const worker_threads = import.meta.require("worker_threads");
expect(typeof worker_threads).toBe("undefined");
expect(typeof worker_threads.getEnvironmentData).toBe("undefined");
});
|