mirror of
https://github.com/oven-sh/bun
synced 2026-02-17 14:22:01 +00:00
test
This commit is contained in:
7
test/js/node/process/call-constructor.test.js
Normal file
7
test/js/node/process/call-constructor.test.js
Normal 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));
|
||||
});
|
||||
Reference in New Issue
Block a user