Skip to content
This repository was archived by the owner on Dec 15, 2022. It is now read-only.

Commit 655ce43

Browse files
authored
Merge pull request #2113 from atom/ku-set-node-env-dev-for-tests
Add `NODE_ENV=development` to `test` script to see React errors
2 parents a36da88 + 9758070 commit 655ce43

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"repository": "https://github.com/atom/github",
77
"license": "MIT",
88
"scripts": {
9-
"test": "cross-env-shell \"${ATOM_SCRIPT_PATH:-atom} --test test\"",
9+
"test": "cross-env-shell NODE_ENV=development \"${ATOM_SCRIPT_PATH:-atom} --test test\"",
1010
"test:coverage": "cross-env ATOM_GITHUB_BABEL_ENV=coverage npm run test",
1111
"test:coverage:text": "nyc --reporter=text npm run test:coverage",
1212
"test:coverage:html": "nyc --reporter=html npm run test:coverage",

0 commit comments

Comments
 (0)