mirror of
https://github.com/cypress-io/cypress.git
synced 2026-01-25 00:19:22 -06:00
10 lines
314 B
JavaScript
10 lines
314 B
JavaScript
const filePreprocessor = require('../cra-v3/file-preprocessor')
|
|
|
|
module.exports = (on, config) => {
|
|
require('@cypress/code-coverage/task')(on, config)
|
|
on('file:preprocessor', filePreprocessor(config))
|
|
// IMPORTANT to return the config object
|
|
// with the any changed environment variables
|
|
return config
|
|
}
|