We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b660a10 commit 1d702eeCopy full SHA for 1d702ee
tests/tsconfig.json
@@ -0,0 +1,13 @@
1
+{
2
+ "extends": "../tsconfig.json",
3
+ "compilerOptions": {
4
+ "noEmit": true,
5
+ "skipLibCheck": true,
6
+ "types": ["vitest/globals", "node"]
7
+ },
8
+ "include": [
9
+ "**/*.ts",
10
+ "**/*.js"
11
+ ],
12
+ "exclude": []
13
+}
vitest.config.ts
@@ -0,0 +1,22 @@
+import { defineConfig } from 'vitest/config';
+
+export default defineConfig({
+ test: {
+ globals: true,
+ environment: 'node',
+ coverage: {
+ enabled: true,
+ reporter: ['text'],
+ include: ['src/**/*.ts'],
+ exclude: ['src/**/*.d.ts'],
+ thresholds: {
+ global: {
14
+ branches: 80,
15
+ functions: 80,
16
+ lines: 80,
17
+ statements: 80
18
+ }
19
20
21
22
+});
0 commit comments