mirror of
https://github.com/balena-os/balena-supervisor.git
synced 2024-12-24 07:46:41 +00:00
16 lines
445 B
JavaScript
16 lines
445 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',
|
|
'mocha-pod/skip-setup',
|
|
'test/lib/chai.ts',
|
|
'test/lib/mocha-hooks.ts',
|
|
],
|
|
spec: ['test/integration/**/*.spec.ts'],
|
|
timeout: '30000',
|
|
};
|