mirror of
https://github.com/marocchino/sticky-pull-request-comment.git
synced 2026-04-26 23:48:51 +00:00
➕ jest to vitest
This commit is contained in:
parent
e39079643f
commit
faaf52818d
10 changed files with 2630 additions and 4071 deletions
21
vitest.config.ts
Normal file
21
vitest.config.ts
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
import { defineConfig } from 'vitest/config';
|
||||
|
||||
export default defineConfig({
|
||||
test: {
|
||||
clearMocks: true,
|
||||
coverage: {
|
||||
provider: 'v8',
|
||||
reporter: ['json', 'lcov', 'text', 'clover'],
|
||||
exclude: ['/node_modules/'],
|
||||
},
|
||||
environment: 'node',
|
||||
include: ['**/__tests__/**/*.test.ts'],
|
||||
globals: true,
|
||||
testTimeout: 10000,
|
||||
poolOptions: {
|
||||
threads: {
|
||||
maxThreads: 10,
|
||||
},
|
||||
},
|
||||
},
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue