Skip to content

Commit

Permalink
[Tests] rename test scripts to match my conventions
Browse files Browse the repository at this point in the history
  • Loading branch information
ljharb committed Nov 27, 2023
1 parent 7223ce7 commit 0a9aab4
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
6 changes: 3 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ language: node_js
matrix:
include:
- node_js: '0.11'
env: TEST_SUITE=unit
env: TEST_SUITE=tests-only
- node_js: '0.12'
env: TEST_SUITE=unit
env: TEST_SUITE=tests-only
- node_js: '4'
env: TEST_SUITE=unit
env: TEST_SUITE=tests-only
- node_js: '4'
env: TEST_SUITE=lint
- node_js: '4'
Expand Down
6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,9 @@
"scripts": {
"lint": "eslint --ext=js,mjs .",
"pretest": "npm run lint",
"test": "npm run unit",
"unit": "node test/",
"tests-only": "tape 'test/**/*.js'",
"test": "npm run tests-only",
"posttest": "aud --production",
"browser": "zuul --browser-version $BROWSER_VERSION --browser-name $BROWSER_NAME -- test/index.js"
},
"engines": {
Expand All @@ -33,6 +34,7 @@
},
"devDependencies": {
"@ljharb/eslint-config": "^21.1.0",
"aud": "^2.0.3",
"eslint": "=8.8.0",
"hash-test-vectors": "^1.3.2",
"pseudorandombytes": "^2.0.0",
Expand Down

0 comments on commit 0a9aab4

Please sign in to comment.