diff --git a/.husky/pre-commit b/.husky/pre-commit index a91e32ec6..4ea0afb29 100755 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -1,5 +1,5 @@ #!/bin/sh . "$(dirname "$0")/_/husky.sh" -# npm test +npm test npx lint-staged diff --git a/vite.config.ts b/vite.config.ts index 1ec27dc9f..04e7647a4 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -12,6 +12,7 @@ export default defineConfig(({ mode }) => { }, test: { + deps: { inline: ["@sveltejs/kit"] }, include: ["src/**/*.{test,spec}.{js,ts}"], }, };