bahmutov / cypress-svelte-unit-test

Unit testing Svelte components in Cypress E2E test runner
162 stars 21 forks source link

Support for svelte-kit based projects #294

Open bhvngt opened 2 years ago

bhvngt commented 2 years ago

Thank you for taking time to open a new issue. Please answer a few questions to help us fix it faster. You can delete text that is irrelevant to the issue.

Is this a bug report or a feature request? feature request

If this is a new feature request, please describe it below

Does this support svelte kit? Apparently svelte-kit bundles up vite and expects a single config with vite configuration embedded in it. So when I use svelte kit based projects with cypress (configured with @cypress/vite-dev-server@2.2.0), it hits a snag when it imports any svelte kit based import such as $app/env.

ambrt commented 2 years ago

I would like to see Svelte-Kit integration too