solana.js: increase localnet validator timeout for gh action
This commit is contained in:
parent
16a8b16f39
commit
e8c0eb186e
|
@ -46,7 +46,7 @@
|
||||||
"pretest": "npm run build",
|
"pretest": "npm run build",
|
||||||
"test": "node ./node_modules/mocha/bin/mocha --loader=ts-node/esm --extension ts --timeout 10000",
|
"test": "node ./node_modules/mocha/bin/mocha --loader=ts-node/esm --extension ts --timeout 10000",
|
||||||
"test:localnet": "SOLANA_LOCALNET=1 node ./node_modules/mocha/bin/mocha --loader=ts-node/esm --extension ts --timeout 10000",
|
"test:localnet": "SOLANA_LOCALNET=1 node ./node_modules/mocha/bin/mocha --loader=ts-node/esm --extension ts --timeout 10000",
|
||||||
"localnet:up": "npm run local:validator & sleep 15 && npm run test:localnet; kill -9 $(pgrep command solana-test-validator) || exit 0",
|
"localnet:up": "npm run local:validator & sleep 20 && npm run test:localnet; kill -9 $(pgrep command solana-test-validator) || exit 0",
|
||||||
"posttest": "npm run lint",
|
"posttest": "npm run lint",
|
||||||
"prepublishOnly": "shx rm -rf lib && npm run build && npm version patch",
|
"prepublishOnly": "shx rm -rf lib && npm run build && npm version patch",
|
||||||
"docs": "typedoc src/index.ts --githubPages --cleanOutputDir",
|
"docs": "typedoc src/index.ts --githubPages --cleanOutputDir",
|
||||||
|
|
Loading…
Reference in New Issue