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 19:26:49 +00:00
|
|
|
'ts-node/register/transpile-only',
|
2022-08-17 22:31:16 +00:00
|
|
|
'tsconfig-paths/register',
|
2022-08-18 22:50:13 +00:00
|
|
|
'test/lib/chai.ts',
|
2022-08-18 16:34:26 +00:00
|
|
|
'test/legacy/fixtures.ts',
|
2022-10-18 02:07:11 +00:00
|
|
|
'test/lib/legacy-mocha-hooks.ts'
|
2021-05-07 01:47:10 +00:00
|
|
|
],
|
2022-08-18 16:34:26 +00:00
|
|
|
spec: ['test/legacy/**/*.spec.ts'],
|
2021-05-07 01:47:10 +00:00
|
|
|
timeout: '30000',
|
|
|
|
};
|