Skip to content

Commit

Permalink
chore(e2e): broaden deprecation warning capturing
Browse files Browse the repository at this point in the history
  • Loading branch information
3cp committed Sep 18, 2024
1 parent ea72d5a commit 4613491
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion e2e-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ function run(command, cwd, dataCB, errorCB) {
proc.stderr.on('data', data => {
process.stderr.write(data);
// Skip webpack5 deprecation warning.
if (data.toString().includes('DeprecationWarning')) return;
if (data.toString().toLowerCase().includes('deprecation')) return;
// Skip BABEL warning (used by dumber bundler) when reading @aurelia/runtime-html
if (data.toString().includes('The code generator has deoptimised the styling')) return;
if (errorCB) {
Expand Down

0 comments on commit 4613491

Please sign in to comment.