2021-05-07 01:47:10 +00:00
|
|
|
module.exports = {
|
|
|
|
bail: true, // Exit test script on first error
|
|
|
|
exit: true, // Force Mocha to exit after tests complete
|
|
|
|
recursive: true, // Look for tests in subdirectories
|
|
|
|
require: [
|
|
|
|
// Files to execute before running suites
|
2022-08-17 15:26:49 -04:00
|
|
|
'ts-node/register/transpile-only',
|
2022-08-17 18:31:16 -04:00
|
|
|
'tsconfig-paths/register',
|
2022-08-18 18:50:13 -04:00
|
|
|
'test/lib/chai.ts',
|
2022-08-18 12:34:26 -04:00
|
|
|
'test/legacy/fixtures.ts',
|
2022-10-17 19:07:11 -07:00
|
|
|
'test/lib/legacy-mocha-hooks.ts'
|
2021-05-07 01:47:10 +00:00
|
|
|
],
|
2022-08-18 12:34:26 -04:00
|
|
|
spec: ['test/legacy/**/*.spec.ts'],
|
2021-05-07 01:47:10 +00:00
|
|
|
timeout: '30000',
|
|
|
|
};
|