Caught exception in play function
TypeError: Cannot redefine property: not
at Function.defineProperty (<anonymous>)
at https://kkvilmnmwpgithub-soxc--6006--70dbe416.local-credentialless.webcontainer.io/node_modules/.cache/storybook/1c3385a5d25e538d10b518b310c74d3ca2690b6aaffeadccd74da79736171f86/sb-vite/deps/chunk-ICANM5TM.js?v=455c4f60:1577:23
at Array.reduce (<anonymous>)
at Instrumenter.instrument (https://kkvilmnmwpgithub-soxc--6006--70dbe416.local-credentialless.webcontainer.io/node_modules/.cache/storybook/1c3385a5d25e538d10b518b310c74d3ca2690b6aaffeadccd74da79736171f86/sb-vite/deps/chunk-ICANM5TM.js?v=455c4f60:1570:29)
at Instrumenter.track (https://kkvilmnmwpgithub-soxc--6006--70dbe416.local-credentialless.webcontainer.io/node_modules/.cache/storybook/1c3385a5d25e538d10b518b310c74d3ca2690b6aaffeadccd74da79736171f86/sb-vite/deps/chunk-ICANM5TM.js?v=455c4f60:1588:17)
at Proxy.toThrowError (https://kkvilmnmwpgithub-soxc--6006--70dbe416.local-credentialless.webcontainer.io/node_modules/.cache/storybook/1c3385a5d25e538d10b518b310c74d3ca2690b6aaffeadccd74da79736171f86/sb-vite/deps/chunk-ICANM5TM.js?v=455c4f60:1580:262)
at play (https://kkvilmnmwpgithub-soxc--6006--70dbe416.local-credentialless.webcontainer.io/src/stories/Page.stories.ts:23:8)
at playFunction (https://kkvilmnmwpgithub-soxc--6006--70dbe416.local-credentialless.webcontainer.io/sb-preview/runtime.js:113:6184)
at https://kkvilmnmwpgithub-soxc--6006--70dbe416.local-credentialless.webcontainer.io/sb-preview/runtime.js:149:3903
at StoryRender.runPhase (https://kkvilmnmwpgithub-soxc--6006--70dbe416.local-credentialless.webcontainer.io/sb-preview/runtime.js:149:943)
Describe the bug
Getting this error when calling expect.toThrow()
Reproduction link
https://stackblitz.com/edit/github-qlgvbq?file=src%2Fstories%2FPage.stories.ts
Reproduction steps
No response
System
Additional context
No response