Use NODE_ENV to test for test environment; improve scripts
This commit is contained in:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user