Skip to content

Commit b303b80

Browse files
committed
fix: pass nyc option all from package json, close cypress-io#194
1 parent f017563 commit b303b80

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Diff for: task.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,8 @@ const tasks = {
156156
exclude: nycOptions.exclude,
157157
// from working with TypeScript code seems we need these settings too
158158
excludeAfterRemap: true,
159-
extension: ['.js', '.cjs', '.mjs', '.ts', '.tsx', '.jsx']
159+
extension: ['.js', '.cjs', '.mjs', '.ts', '.tsx', '.jsx'],
160+
all: nycOptions.all
160161
}
161162

162163
debug('calling NYC reporter with options %o', nycReportOptions)

0 commit comments

Comments
 (0)