Skip to content

Commit

Permalink
chore(package): resolve files for test by nyc
Browse files Browse the repository at this point in the history
Without the quotes, the glob is resolved by the OS, at least on Macs. Because of that, the `./test/unit/plugins-client-bundle-test.js` test was not run and the coverage fell when run locally, while it was still 100% on travis
  • Loading branch information
gr2m committed May 28, 2017
1 parent 432bb7f commit a7961b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
"semantic-release": "semantic-release pre && npm publish && semantic-release post",
"start": "./bin/start.js",
"pretest": "standard",
"test": "nyc tap --no-cov ./test/{unit,integration}/**/*-test.js",
"test": "nyc tap --no-cov './test/{unit,integration}/**/*-test.js'",
"postinstall": "node ./bin/setup.js",
"textlint": "textlint docs/**/*.md README.md"
}
Expand Down

0 comments on commit a7961b4

Please sign in to comment.