mirror of
https://github.com/balena-os/balena-supervisor.git
synced 2024-12-22 15:02:23 +00:00
15 lines
412 B
JavaScript
15 lines
412 B
JavaScript
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
|
|
'ts-node/register/transpile-only',
|
|
'tsconfig-paths/register',
|
|
'test/lib/chai.ts',
|
|
'test/lib/mocha-hooks.ts',
|
|
],
|
|
spec: ['test/unit/**/*.spec.ts'],
|
|
timeout: '30000',
|
|
};
|