onmagnoliasquare / website

On Magnolia Square website monorepo for frontend and backend.
https://onmagnoliasquare.com
MIT License
0 stars 0 forks source link

Frontend component and unit testing #166

Open n30w opened 1 week ago

n30w commented 1 week ago

Description

Implement more unit tests and new component tests with playwright for the frontend.

Links

Additional context

No response

n30w commented 1 day ago

Implementing component tests with:

https://svelte.dev/docs/svelte/testing

Creates this error when running vitest.

Svelte error: rune_outside_svelte
The `$state` rune is only available inside `.svelte` and `.svelte.js/ts` files