mirror of https://github.com/waku-org/js-waku.git
Move mocha --exit to config file
This commit is contained in:
parent
6d699f89f4
commit
e1da348fda
|
@ -1,5 +1,6 @@
|
||||||
{
|
{
|
||||||
"extension": ["ts"],
|
"extension": ["ts"],
|
||||||
"spec": "src/**/*.spec.ts",
|
"spec": "src/**/*.spec.ts",
|
||||||
"require": "ts-node/register"
|
"require": "ts-node/register",
|
||||||
|
"exit": true
|
||||||
}
|
}
|
||||||
|
|
|
@ -24,7 +24,7 @@
|
||||||
"test:lint": "eslint src --ext .ts",
|
"test:lint": "eslint src --ext .ts",
|
||||||
"test:prettier": "prettier \"src/**/*.ts\" \"./*.json\" --list-different",
|
"test:prettier": "prettier \"src/**/*.ts\" \"./*.json\" --list-different",
|
||||||
"test:spelling": "cspell \"{README.md,.github/*.md,src/**/*.ts}\"",
|
"test:spelling": "cspell \"{README.md,.github/*.md,src/**/*.ts}\"",
|
||||||
"test:unit": "nyc --silent mocha --exit # TODO: Remove `--exit` and fix hanging processes",
|
"test:unit": "nyc --silent mocha",
|
||||||
"proto": "run-s proto:*",
|
"proto": "run-s proto:*",
|
||||||
"proto:lint": "buf lint",
|
"proto:lint": "buf lint",
|
||||||
"proto:build": "buf generate",
|
"proto:build": "buf generate",
|
||||||
|
|
Loading…
Reference in New Issue