Update child_process-node.test.js

This commit is contained in:
Jarred Sumner
2023-03-14 18:07:48 -07:00
parent 0f434f9457
commit 7baaf2065a

View File

@@ -1,7 +1,9 @@
import { beforeAll, describe, expect, it } from "bun:test";
import { ChildProcess, spawn, exec } from "node:child_process";
import { throws, assert, createCallCheckCtx, createDoneDotAll } from "node-harness";
import { createTest } from "node-harness";
import { tmpdir } from "node:os";
const { beforeAll, describe, expect, it, throws, assert, createCallCheckCtx, createDoneDotAll } = createTest(
import.meta.path,
);
const strictEqual = (a, b) => expect(a).toStrictEqual(b);
const debug = process.env.DEBUG ? console.log : () => {};
@@ -9,8 +11,6 @@ const platformTmpDir = require("fs").realpathSync(tmpdir());
const TYPE_ERR_NAME = "TypeError";
console.log(process.cwd());
// Copyright Joyent, Inc. and other Node contributors.
//
// Permission is hereby granted, free of charge, to any person obtaining a