Skip to content

Commit 2f15d66

Browse files
committed
chore: reactor tests
1 parent e87e966 commit 2f15d66

14 files changed

Lines changed: 504 additions & 125 deletions

.github/workflows/qa.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,4 +62,4 @@ jobs:
6262
- name: run build
6363
run: npm run build
6464
- name: run test
65-
run: npm test
65+
run: npm test -- --coverage

jest.config.js

Lines changed: 0 additions & 5 deletions
This file was deleted.

jest.config.ts

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
import type { Config } from 'jest';
2+
3+
const config: Config = {
4+
preset: 'ts-jest',
5+
testEnvironment: 'node',
6+
roots: ['<rootDir>/tests'],
7+
verbose: true,
8+
silent: false,
9+
coverageThreshold: {
10+
global: {
11+
statements: 98.13,
12+
},
13+
},
14+
coveragePathIgnorePatterns: ['tests/'],
15+
};
16+
17+
export default config;

0 commit comments

Comments
 (0)