mirror of
https://github.com/cypress-io/cypress.git
synced 2026-05-01 04:20:23 -05:00
17 lines
327 B
JavaScript
17 lines
327 B
JavaScript
module.exports = {
|
|
'e2e': {
|
|
'supportFile': false,
|
|
setupNodeEvents (on, config) {
|
|
on('file:preprocessor', () => {
|
|
return new Promise(() => {
|
|
setTimeout(() => {
|
|
throw new Error('Async error from plugins file')
|
|
}, 250)
|
|
})
|
|
})
|
|
|
|
return config
|
|
},
|
|
},
|
|
}
|