Skip to content

Commit be0472d

Browse files
committed
fix/improve tests on Windows
1 parent 3a81817 commit be0472d

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,15 @@
1818
"url": "git://github.com/rolodato/dotenv-safe.git"
1919
},
2020
"scripts": {
21-
"pretest": "./node_modules/eslint/bin/eslint.js index.js config.js MissingEnvVarsError.js test/.",
22-
"test": "HELLO=fromTheOtherSide mocha"
21+
"pretest": "eslint index.js config.js MissingEnvVarsError.js test/.",
22+
"test": "cross-env HELLO=fromTheOtherSide mocha"
2323
},
2424
"peerDependencies": {
2525
"dotenv": ">= 8.2.0"
2626
},
2727
"devDependencies": {
2828
"chai": "^4.2.0",
29+
"cross-env": "^7.0.3",
2930
"eslint": "^6.8.0",
3031
"fs-extra": "^9.0.0",
3132
"lodash.clonedeep": "^4.5.0",

test/mocha.opts

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

0 commit comments

Comments
 (0)