mirror of
https://github.com/cypress-io/cypress.git
synced 2026-04-26 08:59:26 -05: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
|
|
}
|