| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 5b02972 commit c4aa958
2 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -5,6 +5,7 @@ | |||
| 5 | 5 | /build/ | |
| 6 | 6 | /test/coverage/ | |
| 7 | 7 | /test/repos/ | |
| 8 | + /test/test/repos/ | ||
| 8 | 9 | /src/ | |
| 9 | 10 | /include/ | |
| 10 | 11 | /lib/enums.js | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,8 +1,13 @@ | |||
| 1 | - var args = "cover _mocha -- runner tests --report=lcov".split(" "); | ||
| 1 | + var args = [ | ||
| 2 | + "cover", | ||
| 3 | + process.platform != "win32" ? "_mocha" : "../node_modules/mocha/bin/_mocha", | ||
| 4 | + "--", | ||
| 5 | + "runner", | ||
| 6 | + "tests", | ||
| 7 | + "--report=lcov", | ||
| 8 | + "--expose-gc" | ||
| 9 | + ]; | ||
| 2 | 10 | ||
| 3 | 11 | require("child_process").fork("../node_modules/istanbul/lib/cli.js", args, { | |
| 4 | - cwd: __dirname, | ||
| 5 | - execArgv: [ | ||
| 6 | - process.platform !== "win32" ? "--expose-gc" : "" | ||
| 7 | - ] | ||
| 12 | + cwd: __dirname | ||
| 8 | 13 | }); | |
| Back | FazBrowse Home | New Git URL |
0 commit comments