Skip to content

Commit 74e6bc6

Browse files
W-A-Jamesnbbeeken
authored andcommitted
format .mocharc.js
1 parent f2d4764 commit 74e6bc6

File tree

1 file changed

+10
-13
lines changed

1 file changed

+10
-13
lines changed

.mocharc.js

Lines changed: 10 additions & 13 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": [
7+
require: [
88
"source-map-support/register",
99
"ts-node/register",
1010
"test/tools/runner/chai_addons.ts",
1111
"test/tools/runner/ee_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)