Skip to content

Commit 0c32337

Browse files
authored
Add AI-generated unit tests for src files (#419)
1 parent 04bf7aa commit 0c32337

File tree

6 files changed

+2024
-70
lines changed

6 files changed

+2024
-70
lines changed

jest.config.ts

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import type { Config } from 'jest';
22

33
const config: Config = {
4-
projects: ['<rootDir>/jest.*.config.js'],
4+
projects: ['<rootDir>/jest.*.config.ts'],
55
verbose: true,
66
};
77

@@ -39,15 +39,15 @@ export const baseConfigFor = (project: string, testExtension: string): Config =>
3939

4040
coverageThreshold: {
4141
global: testExtension === 'ts' ? {
42-
statements: 22,
43-
branches: 8,
44-
functions: 9,
45-
lines: 22,
42+
statements: 28,
43+
branches: 14,
44+
functions: 22,
45+
lines: 28,
4646
} : /* tsx */{
47-
statements: 5,
48-
branches: 4,
49-
functions: 4,
50-
lines: 5,
47+
statements: 7,
48+
branches: 5,
49+
functions: 5,
50+
lines: 7,
5151
},
5252
},
5353
});

0 commit comments

Comments
 (0)