File tree Expand file tree Collapse file tree 3 files changed +7
-5
lines changed Expand file tree Collapse file tree 3 files changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ package-lock.json
44# Cypress local support artifacts
55cypress /screenshots
66cypress /videos
7- cypress /downloads / downloads.html
7+ cypress /downloads
88
99# Logs
1010logs
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -16,9 +16,12 @@ const webpack = require('@cypress/webpack-preprocessor');
1616module . exports = ( on , config ) => {
1717 // `on` is used to hook into various events Cypress emits
1818 // `config` is the resolved Cypress config
19- addMatchImageSnapshotPlugin ( on , config ) ;
20- require ( '@cypress/code-coverage/task' ) ( on , config ) ;
21- on ( 'file:preprocessor' , require ( '@cypress/code-coverage/use-babelrc' ) ) ;
19+
20+ if ( ! ! process . env . CI ) {
21+ addMatchImageSnapshotPlugin ( on , config ) ;
22+ require ( '@cypress/code-coverage/task' ) ( on , config ) ;
23+ on ( 'file:preprocessor' , require ( '@cypress/code-coverage/use-babelrc' ) ) ;
24+ }
2225
2326 // this fixes aliasing in cypres e2e tests
2427 // https://github.com/cypress-io/cypress/issues/3262#issuecomment-462646891
You can’t perform that action at this time.
0 commit comments