-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
tests fail with v2 and svelte-kit #28
Comments
Hey @michaelvogt thank your for creating a repo with reproduction! I have been sick this week, but hope to look into this shortly. |
No worries, please take your time to get healthy again. |
When I create an empty
To me it seems like this is a requirement of Vite, rather than being something we can do anything about in mocha-vite-puppeteer. @michaelvogt Could you verify if this "solution" also works with your other svelte-kit project? |
Assuming the "solution" above is confirmed, we could improve the developer experience by giving a better error message in this case... |
I think the important information here is, that the 1.x version of mocha-vite-puppeteer work fine, only the 2.x version is broken. |
Hello.
Just spent some time to set up a plain svelte-kit project with a simple mocha-vite-puppeteer test. This test runs through without problem with mocha-vite-puppeteer v1.x, but fails when switching to v2.
https://github.com/michaelvogt/kit-testing/tree/main/tmp/my-app
The stack trace looks like this:
I have the feeling that this is something simple, but I don't know how to debug this.
The text was updated successfully, but these errors were encountered: