Skip to content

Commit 4820a55

Browse files
committed
Fix test coverage
1 parent b6b702d commit 4820a55

File tree

3 files changed

+2
-10
lines changed

3 files changed

+2
-10
lines changed

.codecov.yml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,6 @@ codecov:
22
strict_yaml_branch: master
33
coverage:
44
range: [80, 100]
5-
notify:
6-
email:
7-
default:
8-
to:
9-
- &author
10-
threshold: .1
11-
layout: files,flags
12-
only_pulls: false
135
parsers:
146
javascript:
157
enable_partials: true

.nycrc.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
22
"include": ["localpack"],
33
"all": true,
4-
"reporter": ["lcov", "text"]
4+
"reporter": ["lcov", "text", "html", "json"]
55
}

gulp/tasks/unit.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ const unit = async function() {
2626
const os = PLATFORMS[platform()]
2727
await gulpExeca(
2828
`curl -s https://codecov.io/bash > codecov && \
29-
bash codecov -f coverage/lcov.info -F ${os} -Z && \
29+
bash codecov -f coverage/coverage-final.json -F ${os} -Z && \
3030
rm codecov`,
3131
)
3232
}

0 commit comments

Comments
 (0)