Skip to content

Commit ec93808

Browse files
authored
Merge pull request #8 from CrashBytes/updating_publish_yml
Updated jest to ignore examples
2 parents 2d12c3f + f81a548 commit ec93808

File tree

1 file changed

+9
-6
lines changed

1 file changed

+9
-6
lines changed

jest.config.js

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -28,14 +28,17 @@ module.exports = {
2828
collectCoverageFrom: [
2929
'src/**/*.{ts,tsx}',
3030
'!src/**/*.d.ts',
31-
'!src/index.ts'
31+
'!src/index.ts',
32+
'!src/examples/**',
33+
'!src/stories/**',
34+
'!src/storybook/**'
3235
],
33-
coverageThreshold: {
36+
coverageThreshold: {
3437
global: {
35-
branches: 80,
36-
functions: 80,
37-
lines: 80,
38-
statements: 80,
38+
branches: 90,
39+
functions: 100,
40+
lines: 100,
41+
statements: 100,
3942
},
4043
},
4144
transformIgnorePatterns: [

0 commit comments

Comments
 (0)