Attacktive / troubleshooter-editor-front-end-svelte

It's the front-end of a save file editor of the game Troubleshooter: Abandoned Children.
https://attacktive.github.io/troubleshooter-editor-front-end-svelte/
MIT License
0 stars 0 forks source link

Error in `Header.test.ts` #416

Closed Attacktive closed 3 days ago

Attacktive commented 1 week ago
 FAIL  src/components/Header.test.ts > Header component > Should render the component.
Svelte error: lifecycle_function_unavailable
`mount(...)` is not available on the server
 ❯ Module.lifecycle_function_unavailable node_modules/svelte/src/internal/server/errors.js:9:16
      7|  */
      8| export function lifecycle_function_unavailable(name) {
      9|  const error = new Error(`lifecycle_function_unavailable\n\`${name}(...)\` is not available on the server`);
       |                ^
     10| 
     11|  error.name = 'Svelte error';
 ❯ Module.mount node_modules/svelte/src/index-server.js:30:24
 ❯ src/components/Header.test.ts:14:22