Skip to content

Commit 0a9aab4

Browse files
committed
[Tests] rename test scripts to match my conventions
1 parent 7223ce7 commit 0a9aab4

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

.travis.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@ language: node_js
33
matrix:
44
include:
55
- node_js: '0.11'
6-
env: TEST_SUITE=unit
6+
env: TEST_SUITE=tests-only
77
- node_js: '0.12'
8-
env: TEST_SUITE=unit
8+
env: TEST_SUITE=tests-only
99
- node_js: '4'
10-
env: TEST_SUITE=unit
10+
env: TEST_SUITE=tests-only
1111
- node_js: '4'
1212
env: TEST_SUITE=lint
1313
- node_js: '4'

package.json

+4-2
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,9 @@
1111
"scripts": {
1212
"lint": "eslint --ext=js,mjs .",
1313
"pretest": "npm run lint",
14-
"test": "npm run unit",
15-
"unit": "node test/",
14+
"tests-only": "tape 'test/**/*.js'",
15+
"test": "npm run tests-only",
16+
"posttest": "aud --production",
1617
"browser": "zuul --browser-version $BROWSER_VERSION --browser-name $BROWSER_NAME -- test/index.js"
1718
},
1819
"engines": {
@@ -33,6 +34,7 @@
3334
},
3435
"devDependencies": {
3536
"@ljharb/eslint-config": "^21.1.0",
37+
"aud": "^2.0.3",
3638
"eslint": "=8.8.0",
3739
"hash-test-vectors": "^1.3.2",
3840
"pseudorandombytes": "^2.0.0",

0 commit comments

Comments
 (0)