fix tests hanging

This commit is contained in:
Jorrin 2024-03-31 15:16:54 +02:00
parent 9e5c40ae45
commit f3310e9e8c
1 changed files with 1 additions and 8 deletions

View File

@ -10,7 +10,7 @@ if (shouldTestProviders) tests = ['src/__test__/providers/**/*.test.ts'];
export default defineConfig({ export default defineConfig({
plugins: [ plugins: [
eslintPlugin({}), ...(process.env.NODE_ENV !== 'test' ? [eslintPlugin()] : []),
dts({ dts({
rollupTypes: true, rollupTypes: true,
}), }),
@ -38,12 +38,5 @@ export default defineConfig({
}, },
test: { test: {
include: tests, include: tests,
pool: 'forks',
poolOptions: {
forks: {
singleFork: true,
},
},
reporters: ['verbose', 'hanging-process'],
}, },
}); });