If I run npm run build with SvelteKit it seems to include all files from the src folder. Is it possible to exclude a certain file type (eg. *test.js)?
Example
Select demo app with
npm init svelte@next my-appAdd the following code to
src/routes/todos/foo.test.jsdescribe('foo', () => { it('temp', () => { expect(true).toBe(false) }) })npm run buildnpm run preview
Result: describe is not defined
Workaround
Move tests outside of src