diff --git a/vite.config.ts b/vite.config.ts index 5e54c58d7..cc9750339 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -31,5 +31,13 @@ export default defineConfig({ statements: 80, exclude: ['**/*.spec.tsx', '**/test/'], }, + /* + * An issue occurs when running all the unit tests with vitest + * See: https://github.com/vitest-dev/vitest/issues/1753 + * TODO: remove the registerNodeLoader workaround when the issue has been resolved + */ + deps: { + registerNodeLoader: false, + }, }, });