Skip to content

Commit 6c8c6bc

Browse files
committed
Tests run on windows / fix pass through for booleans
1 parent a868993 commit 6c8c6bc

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/service.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ var checker = new IncrementalChecker(
99
process.env.WATCH === '' ? [] : process.env.WATCH.split('|'),
1010
parseInt(process.env.WORK_NUMBER, 10),
1111
parseInt(process.env.WORK_DIVISION, 10),
12-
process.env.CHECK_SYNTACTIC_ERRORS
12+
process.env.CHECK_SYNTACTIC_ERRORS === 'true'
1313
);
1414

1515
function run (cancellationToken) {

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"test:integration": "mocha -R spec ./test/integration && rimraf tmp",
1212
"test": "npm run test:unit && npm run test:integration",
1313
"test:watch": "mocha -R spec --watch ./test/unit",
14-
"test:coverage": "rimraf coverage && istanbul cover -root lib --include-all-sources node_modules/.bin/_mocha -- -R spec ./test/unit ./test/integration",
14+
"test:coverage": "rimraf coverage && istanbul cover -root lib --include-all-sources mocha -- -R spec ./test/unit ./test/integration",
1515
"lint": "eslint ./lib ./test",
1616
"lint:fix": "eslint ./lib ./test --fix"
1717
},

0 commit comments

Comments
 (0)