I'm not 100% sure if this issue lies with Svelte or Svelte Testing Library, but when attempting to test any component that calls getContext / setContext, the tests crash with an error.

I've created a simple reproduction to demonstrate this:
Reproduction StackBlitz - just run pnpm test
Reproduction Repo