Skip to content

Commit

Permalink
pkp/pkp#8700 Dropped abort early workaround from Cypress
Browse files Browse the repository at this point in the history
  • Loading branch information
jonasraoni committed Mar 24, 2023
1 parent 29935df commit 1e4741e
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions cypress/plugins/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,17 +11,8 @@
// See https://github.com/bahmutov/cypress-failed-log
// See https://github.com/cypress-io/cypress/issues/3199#issuecomment-534717443
// See https://github.com/cypress-io/cypress/issues/909#issuecomment-578505704
let shouldSkip = false;
module.exports = ( on, config ) => {
on('task', {
resetShouldSkipFlag () {
shouldSkip = false;
return null;
},
shouldSkip ( value ) {
if ( value != null ) shouldSkip = value;
return shouldSkip;
},
failed: require('cypress-failed-log/src/failed')(),
consoleLog(message) {
console.log(message);
Expand All @@ -37,4 +28,4 @@ module.exports = ( on, config ) => {
}

return config;
}
}

0 comments on commit 1e4741e

Please sign in to comment.