Skip to content

Example of Vitest/Sveltekit failures with public and dynamic imports

Notifications You must be signed in to change notification settings

charlie-map/sveltekit-vitest-issue

Repository files navigation

Vitest/Sveltekit Import issue

Install

npm install

Building

To build the test app app:

cp .env.example .env

Running (this will work)

To run the service and see the working environment variable imports:

npm run dev

Testing (this will not work)

To run and see the error that occurs on environment variable imports:

npm run test

About

Example of Vitest/Sveltekit failures with public and dynamic imports

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published