Use NODE_ENV to test for test environment; improve scripts

This commit is contained in:
2025-06-16 22:41:29 -07:00
parent 014ae76634
commit ae91897ead
5 changed files with 19 additions and 20 deletions

View File

@@ -1,19 +1,5 @@
console.log("Jest config file read.");
// const { spawn } = require("child_process");
// const ls = spawn('ls', ['-lh', './test']);
// ls.stdout.on('data', (data) => { console.log(`stdout: ${data}`); });
// ls.stderr.on('data', (data) => {
// console.error(`stderr: ${data}`);
// });
// ls.on('close', (code) => {
// console.log(`child process exited with code ${code}`);
// });
module.exports = {
globalSetup: "./test/integration/setup.cjs",
globalTeardown: "./test/integration/teardown.cjs",