Use mocharc
This commit is contained in:
parent
e0799decc6
commit
e81764f710
|
@ -0,0 +1,2 @@
|
|||
colors: true
|
||||
require: ts-node/register
|
|
@ -31,9 +31,9 @@
|
|||
"lint:fix": "yarn run lint --fix",
|
||||
"prepublishOnly": "yarn build",
|
||||
"test:web": "karma start",
|
||||
"test:unit": "mocha --colors -r ts-node/register 'test/unit/**/*.test.ts'",
|
||||
"test:coverage": "nyc --cache-dir .nyc_output/.cache -r lcov -e .ts mocha --colors -r ts-node/register 'test/unit/**/*.test.ts' && nyc report",
|
||||
"test:spec": "mocha --colors -r ts-node/register 'test/spec/**/*.test.ts'",
|
||||
"test:unit": "mocha 'test/unit/**/*.test.ts'",
|
||||
"test:coverage": "nyc --cache-dir .nyc_output/.cache -r lcov -e .ts mocha 'test/unit/**/*.test.ts' && nyc report",
|
||||
"test:spec": "mocha 'test/spec/**/*.test.ts'",
|
||||
"test": "yarn run test:unit && yarn run test:spec",
|
||||
"download-test-cases": "ts-node test/downloadSpecTests.ts",
|
||||
"coverage": "codecov -F bls",
|
||||
|
@ -47,7 +47,7 @@
|
|||
},
|
||||
"devDependencies": {
|
||||
"@chainsafe/blst": "^0.1.6",
|
||||
"@chainsafe/lodestar-spec-test-util": "^0.12.0",
|
||||
"@chainsafe/lodestar-spec-test-util": "^0.18.0",
|
||||
"@types/chai": "^4.2.9",
|
||||
"@types/mocha": "^8.0.4",
|
||||
"@types/randombytes": "^2.0.0",
|
||||
|
|
Reference in New Issue