mirror of
https://github.com/oven-sh/bun
synced 2026-02-16 13:51:47 +00:00
Update child_process-node.test.js
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user