Skip to content

Commit

Permalink
chore: suppress Lit related console warnings in tests (#8579)
Browse files Browse the repository at this point in the history
  • Loading branch information
web-padawan authored Jan 28, 2025
1 parent 4453858 commit 0895f99
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions wtr-utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ const HIDDEN_WARNINGS = [
'The <vaadin-grid> needs the total number of items in order to display rows, which you can specify either by setting the `size` property, or by providing it to the second argument of the `dataProvider` function `callback` call.',
/^WARNING: Since Vaadin .* is deprecated.*/u,
/^WARNING: <template> inside <[^>]+> is deprecated. Use a renderer function instead/u,
/Lit is in dev mode/u,
/Overriding ReactiveElement/u,
/Element .* scheduled an update/u,
];

const filterBrowserLogs = (log) => {
Expand Down

0 comments on commit 0895f99

Please sign in to comment.