mirror of
https://github.com/thelounge/thelounge
synced 2024-11-21 19:43:07 +00:00
test:mocha: webpack doesn't switch on NODE_ENV=test
So we might as well not complicate the cli for no reason
This commit is contained in:
parent
a12ddc75d8
commit
29c5323bfd
1 changed files with 1 additions and 1 deletions
|
@ -26,7 +26,7 @@
|
|||
"lint": "run-p --aggregate-output --continue-on-error lint:*",
|
||||
"start": "node index start",
|
||||
"test": "run-p --aggregate-output --continue-on-error lint:* test:*",
|
||||
"test:mocha": "cross-env NODE_ENV=test webpack --mode=development && cross-env NODE_ENV=test TS_NODE_PROJECT='./test/tsconfig.json' mocha --require ts-node/register --colors --config=test/.mocharc.yml",
|
||||
"test:mocha": "webpack --mode=development && cross-env NODE_ENV=test TS_NODE_PROJECT='./test/tsconfig.json' mocha --require ts-node/register --colors --config=test/.mocharc.yml",
|
||||
"watch": "webpack --watch"
|
||||
},
|
||||
"keywords": [
|
||||
|
|
Loading…
Reference in a new issue