Skip to content

Commit 87ea9ef

Browse files
committed
format .mocharc.js
1 parent d22da40 commit 87ea9ef

File tree

1 file changed

+14
-17
lines changed

1 file changed

+14
-17
lines changed

.mocharc.js

Lines changed: 14 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -4,21 +4,18 @@ const [major] = process.versions.node.split('.');
44

55
/** @type {import("mocha").MochaOptions} */
66
module.exports = {
7-
"require": [
8-
"source-map-support/register",
9-
"ts-node/register",
10-
"test/tools/runner/chai_addons.ts",
11-
"test/tools/runner/hooks/unhandled_checker.ts"
7+
require: [
8+
'source-map-support/register',
9+
'ts-node/register',
10+
'test/tools/runner/chai_addons.ts',
11+
'test/tools/runner/hooks/unhandled_checker.ts'
1212
],
13-
"extension": [
14-
"js",
15-
"ts"
16-
],
17-
"recursive": true,
18-
"timeout": 60000,
19-
"failZero": true,
20-
"reporter": "test/tools/reporter/mongodb_reporter.js",
21-
"sort": true,
22-
"color": true,
23-
"node-option": Number(major) >= 23 ? ['no-experimental-strip-types'] : undefined
24-
}
13+
extension: ['js', 'ts'],
14+
recursive: true,
15+
timeout: 60000,
16+
failZero: true,
17+
reporter: 'test/tools/reporter/mongodb_reporter.js',
18+
sort: true,
19+
color: true,
20+
'node-option': Number(major) >= 23 ? ['no-experimental-strip-types'] : undefined
21+
};

0 commit comments

Comments
 (0)