Web Dev Solutions

Catalin Mititiuc

aboutsummaryrefslogtreecommitdiff
blob: af5adf3f4e0a543cea723b4ac787da735710d0af (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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",
  testPathIgnorePatterns: ["/node_modules/", "test/unit"],
  testTimeout: 5000
};