Skip to content

Commit a7be5ae

Browse files
committed
fix: .travis.yml test.
1 parent f3d1138 commit a7be5ae

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,5 @@ node_js:
1212
- "v8.11.3"
1313
- "v10.7.0"
1414
scripts: {
15-
"test": "make test"
15+
"test": "npm run test:build"
1616
}

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,10 @@
77
"build": "jison -m js ./src/sqlParser.jison -o ./dist/parser/sqlParser.js && npm run build-concat",
88
"build-concat": "cat src/stringify.js src/suffix.js >> ./dist/parser/sqlParser.js",
99
"postbuild": "npm run test:build",
10+
"test": "npm run build",
1011
"test:all": "mocha --require babel-register",
11-
"test:build": "mocha 'test/*.test.js'",
12-
"test:benchmark": "mocha test/benchmark.js"
12+
"test:build": "mocha --require babel-register 'test/*.test.js'",
13+
"test:benchmark": "mocha --require babel-register test/benchmark.js"
1314
},
1415
"repository": {
1516
"type": "git",

0 commit comments

Comments
 (0)