Skip to content
This repository has been archived by the owner on Feb 26, 2024. It is now read-only.

test: add simple tests that fork Infura networks #610

Merged
merged 6 commits into from
Sep 2, 2020
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
add npm script for smoke testing
  • Loading branch information
mikeseese committed Sep 1, 2020
commit b0028aea72f27b3bd28180dfb449cd9d0491d928
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@
"format": "prettier --write \"{lib,perf,test}/**/*.js\" && eslint --fix --ignore-path .gitignore .",
"prepublishOnly": "npm run test && npm run build && npm run test-build && cp npm-shrinkwrap.json npm-shrinkwrap.json.bak && rm -rf node_modules/web3-providers-ws/node_modules/websocket/.git && npm prune --production && npm shrinkwrap",
"postpublish": "rm npm-shrinkwrap.json && mv npm-shrinkwrap.json.bak npm-shrinkwrap.json && npm ci",
"test": "npm run _lint && npm run nyc_mocha",
"test": "npm run _lint && npm run nyc_mocha ./test/local",
"test-smoke": "npm run _mocha ./test/smoke",
"test-build": "cross-env TEST_BUILD=node npm run _mocha",
"test-web-experimental": "cross-env TEST_BUILD=web-experimental npm run _mocha",
"coverage": "nyc report --reporter=text-lcov | coveralls"
Expand Down