balena-supervisor/test/integration/.mocharc.js

15 lines
412 B
JavaScript
Raw Normal View History

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',
'mocha-pod/attach',
],
spec: ['test/integration/**/*.spec.ts'],
timeout: '30000',
};