Skip to content

Commit 29964a1

Browse files
committed
Run the tests for "npm test asm.js"
1 parent 9447d76 commit 29964a1

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed
File renamed without changes.

package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,5 +30,8 @@
3030
"javascript",
3131
"asm.js",
3232
"validator"
33-
]
33+
],
34+
"scripts": {
35+
"test": "nodeunit"
36+
}
3437
}

tests/index.js renamed to test/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
var ty = require('../lib/types');
2-
var asmAssert = require('./asmAssert');
2+
var asmAssert = require('../lib/asmAssert');
33

44
exports.testModuloIntish1 = asmAssert.one(
55
"% doesn't return int",

0 commit comments

Comments
 (0)