Skip to content

Commit 591d351

Browse files
committed
Migrate to .mocharc.
1 parent 4912456 commit 591d351

File tree

3 files changed

+9
-4
lines changed

3 files changed

+9
-4
lines changed

.mocharc.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"require": [
3+
"@babel/register",
4+
"test/test-setup"
5+
],
6+
"timeout": 100,
7+
"slow": 50
8+
}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
"scripts": {
4343
"build": "babel src -d lib",
4444
"test": "nyc npm run mocha",
45-
"mocha": "mocha --require @babel/register",
45+
"mocha": "mocha",
4646
"lint": "eslint src perf test spec",
4747
"prepare": "npm run build",
4848
"spec": "npm run spec-turtle && npm run spec-ntriples && npm run spec-nquads && npm run spec-trig",

test/mocha.opts

Lines changed: 0 additions & 3 deletions
This file was deleted.

0 commit comments

Comments
 (0)