Skip to content

Commit c360d45

Browse files
committed
only use jest
1 parent 4ee3fcb commit c360d45

17 files changed

+188
-3190
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ The project uses Jest with TypeScript support. Execute the test suite with:
149149
npm test
150150
```
151151

152-
All `*.test.ts` files in the `tests` directory will be run.
152+
All `*.test.ts` and `*.test.tsx` files in the `tests` directory will be run.
153153

154154
### Debugging
155155

jest.config.js

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,9 @@
11
module.exports = {
22
preset: 'ts-jest',
33
testEnvironment: 'node',
4-
testMatch: ['**/HgraphClient.test.ts', '**/HgraphContract.test.ts'],
4+
testMatch: ['**/*.test.ts', '**/*.test.tsx'],
55
collectCoverage: true,
66
collectCoverageFrom: ['src/**/**/*.{ts,tsx}'],
7-
coverageThreshold: {
8-
global: {
9-
lines: 100,
10-
functions: 100,
11-
branches: 100,
12-
statements: 100,
13-
},
14-
},
157
transform: {
168
'^.+\\.tsx?$': [
179
'ts-jest',

0 commit comments

Comments
 (0)