Skip to content

Commit 2c99d99

Browse files
committed
[Tests] move tests into test dir
1 parent 14b9a42 commit 2c99d99

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"scripts": {
88
"pretest": "standard",
99
"test": "npm run tests-only",
10-
"tests-only": "tape test.js",
10+
"tests-only": "tape 'test/**/*.js'",
1111
"posttest": "npx npm@'>=10.2' audit --production"
1212
},
1313
"repository": {

test.js renamed to test/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ var vectors = require('hash-test-vectors')
77
vectors.forEach(function (vector) {
88
vector.ripemd160 = vector.rmd160
99
})
10-
var createHash = require('./browser')
10+
var createHash = require('../browser')
1111

1212
algorithms.forEach(function (algorithm) {
1313
test('test ' + algorithm + ' against test vectors', function (t) {

0 commit comments

Comments
 (0)