mirror of
https://github.com/emilybache/GildedRose-Refactoring-Kata.git
synced 2026-10-13 17:49:25 +00:00
Add vitest inside TypeScript
This commit is contained in:
1 parent
820e796fd8
commit
95a5db2080
6 files changed
+7917
-3861
No files matched your search
@@ -0,0 +1,14 @@
|
||||
import {defineConfig} from 'vitest/config';
|
||||
import tsconfigPaths from 'vite-tsconfig-paths';
|
||||
|
||||
export default defineConfig({
|
||||
plugins: [tsconfigPaths()],
|
||||
test: {
|
||||
globals: true,
|
||||
include: ['test/vitest/**/*.{spec,test}.{js,ts}'],
|
||||
coverage: {
|
||||
provider: 'istanbul',
|
||||
reporter: ['text', 'html']
|
||||
}
|
||||
},
|
||||
});
|
||||
Reference in new issue
Block a user