Skip to content

Commit

Permalink
BUGFIX: Quick fix to make testcafe run for node16
Browse files Browse the repository at this point in the history
In testcafe there is an issue with node 16 which leads to the first test to fail. DevExpress/testcafe#7097
  • Loading branch information
markusguenther committed Sep 1, 2022
1 parent 93c681a commit 261c8c0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Tests/IntegrationTests/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@ export async function checkPropTypes() {
if (error[0] && error[0].search('Warning: Unsafe legacy lifecycles') >= 0) {
delete error[0];
}
// Quick fix to be able to use node 16 with testcafe @see https://github.com/DevExpress/testcafe/issues/7097
if (error[0] && error[0].search('hammerhead.js:15:1506') >= 0) {
delete error[0];
}
if (error[0]) {
console.log('These console errors were the cause of the failed test:', error);
}
Expand Down

0 comments on commit 261c8c0

Please sign in to comment.