mirror of
https://github.com/oven-sh/bun
synced 2026-02-17 22:32:06 +00:00
8 lines
266 B
JavaScript
8 lines
266 B
JavaScript
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));
|
|
});
|