snapshot of https://github.com/shadcn-ui/ui.git (main, 2026-09-15; blobs > 131072B omitted)
This commit is contained in:
4
packages/react/vitest.browser.setup.ts
Normal file
4
packages/react/vitest.browser.setup.ts
Normal file
@@ -0,0 +1,4 @@
|
||||
// React's act() needs this flag outside of a testing-library environment.
|
||||
;(
|
||||
globalThis as { IS_REACT_ACT_ENVIRONMENT?: boolean }
|
||||
).IS_REACT_ACT_ENVIRONMENT = true
|
||||
Reference in New Issue
Block a user