solana.js: increased mainnet test timeout

This commit is contained in:
Conner Gallagher 2022-12-22 10:24:44 -07:00
parent 869e4a98f6
commit c9cdb058c5
1 changed files with 1 additions and 1 deletions

View File

@ -47,7 +47,7 @@
"pretest": "npm run build",
"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 60000",
"test:localnet:mainnet": "SWITCHBOARD_PROGRAM_ID=SW1TCH7qEPTdLsDHRgPuMQjbQxKdH2aBStViMFnt64f SOLANA_LOCALNET=1 node ./node_modules/mocha/bin/mocha --loader=ts-node/esm --extension ts --timeout 10000",
"test:localnet:mainnet": "SWITCHBOARD_PROGRAM_ID=SW1TCH7qEPTdLsDHRgPuMQjbQxKdH2aBStViMFnt64f SOLANA_LOCALNET=1 node ./node_modules/mocha/bin/mocha --loader=ts-node/esm --extension ts --timeout 60000",
"localnet:up": "npm run local:validator & sleep 20 && npm run test:localnet",
"localnet:down": "kill -9 $(pgrep command solana-test-validator) || exit 0",
"localnet": "npm run localnet:up; npm run localnet:down",