chore: remove mocha-headless-chrome for browser tests (#21433)
This commit is contained in:
@@ -38,7 +38,6 @@
|
||||
],
|
||||
"scripts": {
|
||||
"build": "npm run clean; cross-env NODE_ENV=production rollup -c; npm run type:gen; npm run flow:gen; npm run flow:check",
|
||||
"build:browser-test": "rollup -c test/rollup.config.js",
|
||||
"build:fixtures": "set -ex; ./test/fixtures/noop-program/build.sh",
|
||||
"clean": "rimraf ./coverage ./lib",
|
||||
"codecov": "set -ex; npm run test:cover; cat ./coverage/lcov.info | codecov",
|
||||
@@ -55,9 +54,6 @@
|
||||
"re": "semantic-release --repository-url git@github.com:solana-labs/solana-web3.js.git",
|
||||
"test": "mocha -r ts-node/register './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: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-test-validator": "start-server-and-test 'solana-test-validator --reset --quiet' http://localhost:8899/health test:browser-with-server",
|
||||
"test:live": "TEST_LIVE=1 npm run test",
|
||||
"test:live-with-test-validator": "start-server-and-test 'solana-test-validator --reset --quiet' http://localhost:8899/health test:live"
|
||||
},
|
||||
@@ -120,7 +116,6 @@
|
||||
"flowgen": "^1.13.0",
|
||||
"http-server": "^14.0.0",
|
||||
"mocha": "^8.2.1",
|
||||
"mocha-headless-chrome": "^3.1.0",
|
||||
"mockttp": "^2.0.1",
|
||||
"mz": "^2.7.0",
|
||||
"npm-run-all": "^4.1.5",
|
||||
|
Reference in New Issue
Block a user