Got error “Function called outside component initialization” when testing Svelte component with Vitest
I want to test the following Svelte component with Vitest:
Got error “Function called outside component initialization” when testing Svelte component with Vitest
I want to test the following Svelte component with Vitest: