Skip to content

Commit

Permalink
test(binTestCases): run bintestcases on upper-repo
Browse files Browse the repository at this point in the history
  • Loading branch information
evenstensberg committed May 31, 2018
1 parent 1de0717 commit b72afb1
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 8 deletions.
24 changes: 18 additions & 6 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"lint:codeOnly": "eslint \"{bin}/**/!(__testfixtures__)/*.js\" \"{bin}/**.js\"",
"precommit": "lint-staged",
"pretest": "npm run lint",
"test": "nyc lerna exec npm test",
"test": "jest && nyc lerna exec npm test",
"reportCoverage": "nyc report --reporter=json && codecov -f coverage/coverage-final.json --disable=gcov",
"jsdoc": "jsdoc -c jsdoc.json -r -d docs",
"appveyor:lint": "lerna bootstrap && npm run lint",
Expand All @@ -56,6 +56,9 @@
"coverageReporters": [
"json",
"html"
],
"modulePathIgnorePatterns": [
"./packages"
]
},
"nyc": {
Expand Down
2 changes: 1 addition & 1 deletion test/BinTestCases.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ describe("BinTestCases", function() {
testName
);

const cmd = `${path.resolve(__dirname, "../cli.js")}`;
const cmd = `${path.resolve(__dirname, "..", "bin", "cli.js")}`;
const args = testArgs.concat(["--output-path", `${outputPath}`]);
const opts = {
cwd: testDirectory
Expand Down

0 comments on commit b72afb1

Please sign in to comment.