Skip to content

Sveltekit compatibility #26

@michaeldesigaud

Description

@michaeldesigaud

I try to use safetest in my sveltekit project but i struggle with the application boostrap in file /src/main.ts.
My entry point is an app.html file with the following :

<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8" />
    <link rel="icon" href="%sveltekit.assets%/favicon.png" />
    <meta name="viewport" content="width=device-width" />
    %sveltekit.head%
  </head>
  <body data-sveltekit-preload-data="hover">
    <div style="display: contents">%sveltekit.body%</div>
  </body>
</html>

I'm not sure how to bootstrap that programmatically so that the app can be started in tests ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions