forked from IronTony/react-native-docusign
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathjest.config.js
More file actions
37 lines (37 loc) 路 803 Bytes
/
Copy pathjest.config.js
File metadata and controls
37 lines (37 loc) 路 803 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
/** @type {import('jest').Config} */
module.exports = {
preset: 'jest-expo',
testMatch: [
'<rootDir>/src/**/*.test.ts',
'<rootDir>/src/**/*.test.tsx',
'<rootDir>/plugin/src/**/*.test.ts',
],
setupFiles: ['<rootDir>/jest.setup.js'],
collectCoverageFrom: [
'src/**/*.{ts,tsx}',
'!src/**/*.test.{ts,tsx}',
'!src/DocuSignModule.ts',
'plugin/src/**/*.ts',
'!plugin/src/**/*.test.ts',
],
coverageThreshold: {
'src/useDocuSignSigning.ts': {
branches: 80,
functions: 80,
lines: 80,
statements: 80,
},
'src/api.ts': {
branches: 80,
functions: 80,
lines: 80,
statements: 80,
},
'src/DocuSignError.ts': {
branches: 80,
functions: 80,
lines: 80,
statements: 80,
},
},
};