This commit is contained in:
snwy
2024-12-09 13:15:10 -08:00
parent 9b71264ab8
commit 49d80755d6

View File

@@ -0,0 +1,7 @@
import { expect, test } from "bun:test";
import process from "process";
test("the constructor of process can be called", () => {
let obj = process.constructor.call({ ...process });
expect(Object.getPrototypeOf(obj)).toEqual(Object.getPrototypeOf(process));
});