balena-supervisor/test/.mocharc.js
Christina Wang 62375c907f
Upgrade mocha to v8, use mocha fixtures for chai plugins
Remove chai-events and add explicit chai devDependency

Change-type: patch
Signed-off-by: Christina Wang <christina@balena.io>
2021-05-12 17:10:57 +09:00

12 lines
331 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
'build/test/config/fixtures.js',
],
spec: ['build/test/**/*.spec.js'],
timeout: '30000',
};