Skip to content

Commit 889be95

Browse files
committed
chore(tests) allow running of individual tests again
1 parent 36392c3 commit 889be95

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

.mocharc.json

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"require": "should"
3+
}

package.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,10 @@
2929
"build": "node ./tools/build.js -t node",
3030
"build-cdn": "node ./tools/build.js -t cdn",
3131
"build-browser": "node ./tools/build.js -t browser :common",
32-
"test": "mocha --globals document test",
33-
"test-markup": "mocha --globals document test/markup",
34-
"test-detect": "mocha --globals document test/detect",
35-
"test-browser": "mocha --globals document test/browser"
32+
"test": "mocha test",
33+
"test-markup": "mocha test/markup",
34+
"test-detect": "mocha test/detect",
35+
"test-browser": "mocha test/browser"
3636
},
3737
"engines": {
3838
"node": "*"

0 commit comments

Comments
 (0)