Skip to content

Commit

Permalink
chore: fix coverage setup for CI
Browse files Browse the repository at this point in the history
  • Loading branch information
larsgw committed Aug 29, 2019
1 parent d111e70 commit a0ebbde
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions babel.config.js
Expand Up @@ -7,12 +7,12 @@ module.exports = {
['@babel/env', { targets }]
],
env: {
'mjs': {
mjs: {
presets: [
['@babel/env', { modules: false, targets }]
]
},
test: {
coverage: {
plugins: ['istanbul']
}
},
Expand Down
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -27,7 +27,7 @@
"test:live": "npm run lerna -- TEST_MOCK_HTTP=false npm test -- -r @babel/register",
"update:test": "node scripts/tests.wikidata.js && node scripts/tests.doi.js",
"coverage": "npm run coverage:test && npm run coverage:report",
"coverage:test": "npm run lerna -- nyc npm test",
"coverage:test": "npm run lerna -- NODE_ENV=coverage nyc npm test",
"coverage:report": "npm run lerna -- nyc report --reporter=text-lcov \">\" coverage.lcov",
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s -r 0 && git add CHANGELOG.md",
"preversion": "npm run lint && npm test",
Expand Down

0 comments on commit a0ebbde

Please sign in to comment.