Skip to content

Commit e72c00f

Browse files
authored
Merge pull request webpack#6152 from ooflorent/globals_b64
Mark Base64 as global in mocha
2 parents 069789a + 5636a5e commit e72c00f

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -88,9 +88,9 @@
8888
"schemas/"
8989
],
9090
"scripts": {
91-
"test": "mocha test/*.test.js test/*.unittest.js --max-old-space-size=4096 --harmony --trace-deprecation --check-leaks",
92-
"test:integration": "mocha test/*.test.js --max-old-space-size=4096 --harmony --trace-deprecation --check-leaks",
93-
"test:unit": "mocha test/*.unittest.js --max-old-space-size=4096 --harmony --trace-deprecation --check-leaks",
91+
"test": "mocha test/*.test.js test/*.unittest.js --max-old-space-size=4096 --harmony --trace-deprecation",
92+
"test:integration": "mocha test/*.test.js --max-old-space-size=4096 --harmony --trace-deprecation",
93+
"test:unit": "mocha test/*.unittest.js --max-old-space-size=4096 --harmony --trace-deprecation",
9494
"travis:integration": "npm run cover:init && npm run cover:integration && npm run cover:report-min",
9595
"travis:unit": "npm run cover:init && npm run cover:unit && npm run cover:report-min",
9696
"travis:lint": "npm run lint-files && npm run nsp",

test/mocha.opts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
11
--full-trace
22
--reporter dot
3+
--check-leaks
4+
--globals Base64

0 commit comments

Comments
 (0)