chore: fix coverage command
This commit is contained in:
parent
48b3b27985
commit
51bc18f8c4
|
@ -1,16 +0,0 @@
|
||||||
[ignore]
|
|
||||||
<PROJECT_ROOT>/node_modules/*
|
|
||||||
<PROJECT_ROOT>/lib/.*
|
|
||||||
<PROJECT_ROOT>/internals/.*
|
|
||||||
|
|
||||||
[options]
|
|
||||||
|
|
||||||
emoji=true
|
|
||||||
esproposal.class_instance_fields=enable
|
|
||||||
esproposal.class_static_fields=enable
|
|
||||||
esproposal.decorators=ignore
|
|
||||||
esproposal.export_star_as=enable
|
|
||||||
module.system.node.resolve_dirname=./src
|
|
||||||
module.use_strict=true
|
|
||||||
experimental.const_params=true
|
|
||||||
include_warnings=true
|
|
|
@ -71,7 +71,7 @@
|
||||||
"pretty:fix": "prettier --write '{,{examples,src,test}/**/}*.{j,t}s'",
|
"pretty:fix": "prettier --write '{,{examples,src,test}/**/}*.{j,t}s'",
|
||||||
"re": "semantic-release --repository-url git@github.com:solana-labs/solana-web3.js.git",
|
"re": "semantic-release --repository-url git@github.com:solana-labs/solana-web3.js.git",
|
||||||
"test": "npm run build:fixtures && mocha -r ts-node/register './test/**/*.test.ts'",
|
"test": "npm run build:fixtures && mocha -r ts-node/register './test/**/*.test.ts'",
|
||||||
"test:cover": "nyc --reporter=lcov mocha './test/**/*.test.ts'",
|
"test:cover": "TS_NODE_COMPILER_OPTIONS='{\"module\": \"commonjs\" }' nyc --reporter=lcov mocha -r ts-node/register './test/**/*.test.ts'",
|
||||||
"test:browser": "TEST_LIVE=1 npm run build:fixtures && npm run build:browser-test && mocha-headless-chrome -f http://localhost:8080/mocha.html --timeout 180000",
|
"test:browser": "TEST_LIVE=1 npm run build:fixtures && npm run build:browser-test && mocha-headless-chrome -f http://localhost:8080/mocha.html --timeout 180000",
|
||||||
"test:browser-with-server": "start-server-and-test 'http-server -p 8080' 8080 test:browser",
|
"test:browser-with-server": "start-server-and-test 'http-server -p 8080' 8080 test:browser",
|
||||||
"test:browser-with-test-validator": "start-server-and-test 'solana-test-validator --reset --quiet' http://localhost:8899/health test:browser-with-server",
|
"test:browser-with-test-validator": "start-server-and-test 'solana-test-validator --reset --quiet' http://localhost:8899/health test:browser-with-server",
|
||||||
|
|
Loading…
Reference in New Issue