Skip to content
This repository was archived by the owner on Mar 5, 2022. It is now read-only.

Commit 1b49d25

Browse files
committed
fix: the require format for react scripts task
1 parent 6ef8223 commit 1b49d25

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugins/cra-v3/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
const filePreprocessor = require('./file-preprocessor')
22

33
module.exports = (on, config) => {
4+
require('@cypress/code-coverage/task')(on, config)
45
on('file:preprocessor', filePreprocessor(config))
5-
on('task', require('@cypress/code-coverage/task')(on, config))
66
// IMPORTANT to return the config object
77
// with the any changed environment variables
88
return config

0 commit comments

Comments
 (0)