From 1a15887e1beb32fd5162a527cb521434c00800e8 Mon Sep 17 00:00:00 2001 From: Norbert de Langen Date: Sun, 12 Jan 2025 16:56:31 +0100 Subject: [PATCH] fix a few tests --- vitest-setup.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/vitest-setup.ts b/vitest-setup.ts index 5eba16740d1d..e4519d9d320b 100644 --- a/vitest-setup.ts +++ b/vitest-setup.ts @@ -7,6 +7,9 @@ const ignoreList = [ (error: any) => error.message.includes('":nth-child" is potentially unsafe'), (error: any) => error.message.includes('":first-child" is potentially unsafe'), (error: any) => error.message.match(/Browserslist: .* is outdated. Please run:/), + (error: any) => error.message.includes('Support for defaultProps will be removed'), + (error: any) => + error.message.includes('`ReactDOMTestUtils.act` is deprecated in favor of `React.act`'), (error: any) => error.message.includes('Consider adding an error boundary'), (error: any) => error.message.includes('react-async-component-lifecycle-hooks') &&