Skip to content

Commit

Permalink
Remove headless tests
Browse files Browse the repository at this point in the history
Infrastructure doesn't work anymore. NPM wins.
  • Loading branch information
dchest committed Jan 24, 2019
1 parent 742be71 commit abf4dc5
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 1,109 deletions.
6 changes: 0 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -422,12 +422,6 @@ To prepare tests for browsers:
and then open `test/browser/test.html` (or `test/browser/test-fast.html`) to
run them.

To run headless browser tests with `tape-run` (powered by Electron):

$ npm run test-browser

(If you get `Error: spawn ENOENT`, install *xvfb*: `sudo apt-get install xvfb`.)

To run tests in both Node and Electron:

$ npm test
Expand Down
3 changes: 0 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
"build": "uglifyjs nacl.js -c -m -o nacl.min.js && uglifyjs nacl-fast.js -c -m -o nacl-fast.min.js",
"test-node": "tape test/*.js | faucet",
"test-node-all": "make -C test/c && tape test/*.js test/c/*.js | faucet",
"test-browser": "NACL_SRC=${NACL_SRC:='nacl.min.js'} && npm run build-test-browser && cat $NACL_SRC test/browser/_bundle.js | tape-run | faucet",
"build-test-browser": "browserify test/browser/init.js test/*.js | uglifyjs -c -m -o test/browser/_bundle.js 2>/dev/null && browserify test/browser/init.js test/*.quick.js | uglifyjs -c -m -o test/browser/_bundle-quick.js 2>/dev/null",
"test": "npm run test-node-all",
"bench": "node test/benchmark/bench.js",
Expand Down Expand Up @@ -43,12 +42,10 @@
"homepage": "https://tweetnacl.js.org",
"devDependencies": {
"browserify": "^13.1.1",
"electron": "^1.4.12",
"eslint": "^3.12.1",
"faucet": "^0.0.1",
"tap-browser-color": "^0.1.2",
"tape": "^4.6.3",
"tape-run": "^2.1.4",
"tweetnacl-util": "^0.13.5",
"uglify-js": "^2.7.5"
},
Expand Down
Loading

0 comments on commit abf4dc5

Please sign in to comment.