File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 4040 "client:start" : " npm run client:start:js --" ,
4141 "client:start:dev1" : " npm run client:start -- --discDns=false --discV4=false --bootnodes" ,
4242 "client:start:dev2" : " npm run client:start -- --discDns=false --discV4=false --port=30304 --dataDir=datadir-dev2" ,
43- "coverage" : " c8 --all --reporter=lcov --reporter=text npm run test: unit" ,
43+ "coverage" : " npx vitest --coverage --coverage.include=src --coverage. reporter=lcov run test/* -c=./vitest.config. unit.ts " ,
4444 "docs:build" : " typedoc --options typedoc.cjs --tsconfig tsconfig.prod.cjs.json" ,
4545 "examples" : " tsx ../../scripts/examples-runner.ts -- client" ,
4646 "lint" : " ../../config/cli/lint.sh" ,
Original file line number Diff line number Diff line change 3434 "scripts" : {
3535 "build" : " ../../config/cli/ts-build.sh" ,
3636 "clean" : " ../../config/cli/clean-package.sh" ,
37- "coverage" : " ../../config/cli/ coverage.sh " ,
37+ "coverage" : " npx vitest --coverage --coverage.include=src -- coverage.reporter=lcov run test/* " ,
3838 "docs:build" : " typedoc --options typedoc.cjs" ,
3939 "examples" : " tsx ../../scripts/examples-runner.ts -- ethash" ,
4040 "examples:build" : " npx embedme README.md" ,
Original file line number Diff line number Diff line change 4747 "build" : " ../../config/cli/ts-build.sh node" ,
4848 "build:benchmarks" : " npm run build && tsc -p tsconfig.benchmarks.json" ,
4949 "clean" : " ../../config/cli/clean-package.sh" ,
50- "coverage" : " c8 --all --reporter=lcov --reporter=text npm run test:node " ,
50+ "coverage" : " npx vitest --coverage --coverage.include=src run" ,
5151 "examples" : " tsx ../../scripts/examples-runner.ts -- rlp" ,
5252 "examples:build" : " npx embedme README.md" ,
5353 "lint" : " ../../config/cli/lint.sh" ,
You can’t perform that action at this time.
0 commit comments