#"Cannot read properties of null" error in a test that renders a component that uses useState

3 messages · Page 1 of 1 (latest)

austere pivot
#

I'm seeing TypeError: Cannot read properties of null (reading 'useState') when running a test (Vitest/Testing Library) that renders a component that uses a hook that uses useState and useEffect hooks. The first version I noticed this happening on is the 1.129.1 release of Start, so I'm hoping that may narrow things down and point to what might be causing this. I've tried the latest release of Start (1.130.15) and several prior to that and all result in the same error.

calm viper
#

do you have a reproducer?

austere pivot
#

No, not yet