Skip to content

Commit eccffee

Browse files
author
kai.zhu
committed
add file test/jslint.js and npm-command "npm run test-jslint"
todo - allow test-jslint to fail after we finish refactoring src/api.js (test-jslint currently always pass)
1 parent a32669a commit eccffee

File tree

3 files changed

+5161
-2
lines changed

3 files changed

+5161
-2
lines changed

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ node_modules/
22
*~
33

44
# Intermediary files:
5+
cache/
56
out/
67
sqlite-src/
7-
cache/
8+
tmp/

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,11 @@
2121
"scripts": {
2222
"build": "make",
2323
"rebuild": "make clean && make",
24-
"test": "npm run test-asm && npm run test-asm-debug && npm run test-wasm && npm run test-wasm-debug && npm run test-asm-memory-growth",
24+
"test": "npm run test-jslint && npm run test-asm && npm run test-asm-debug && npm run test-wasm && npm run test-wasm-debug && npm run test-asm-memory-growth",
2525
"test-asm": "node test/all.js asm",
2626
"test-asm-debug": "node test/all.js asm-debug",
2727
"test-asm-memory-growth": "node test/all.js asm-memory-growth",
28+
"test-jslint": "node test/jslint.js src/api.js",
2829
"test-wasm": "node test/all.js wasm",
2930
"test-wasm-debug": "node test/all.js wasm-debug"
3031
},

0 commit comments

Comments
 (0)