You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
'React will try to recreate this component tree from scratch using the error boundary you provided'
26
23
),
27
-
(error: any)=>error.message.includes('Lit is in dev mode. Not recommended for production!'),
28
-
(error: any)=>error.message.includes('error: `DialogContent` requires a `DialogTitle`'),
29
-
(error: any)=>
30
-
error.message.includes(
24
+
(message)=>message.includes('Lit is in dev mode. Not recommended for production!'),
25
+
(message)=>message.includes('error: `DialogContent` requires a `DialogTitle`'),
26
+
(message)=>
27
+
message.includes(
31
28
"importMetaResolve from within Storybook is being used in a Vitest test, but it shouldn't be. Please report this at https://github.com/storybookjs/storybook/issues/new?template=bug_report.yml"
32
29
),
33
-
(error: any)=>
34
-
error.message.includes('<Pressable> child must forward its ref to a DOM element.'),
35
-
(error: any)=>
36
-
error.message.includes('<Focusable> child must forward its ref to a DOM element.'),
37
-
(error: any)=>error.message.includes('Please ensure the tabIndex prop is passed through.'),
30
+
(message)=>message.includes('<Pressable> child must forward its ref to a DOM element.'),
31
+
(message)=>message.includes('<Focusable> child must forward its ref to a DOM element.'),
32
+
(message)=>message.includes('Please ensure the tabIndex prop is passed through.'),
38
33
// Vitest only warns about this if the import comes from a file outside of `node_modules`.
39
34
// This only occurs locally for us and is safe to ignore.
40
35
// It will stop once we start importing from `vitest/browser` instead (not a Vitest 3 compatible change).
41
36
// TODO: can be removed in SB11 (when/if we remove Vitest 3 support)
42
-
(error: any)=>
43
-
error.message.includes('tries to load a deprecated "@vitest/browser/context" module.'),
37
+
(message)=>message.includes('tries to load a deprecated "@vitest/browser/context" module.'),
0 commit comments