Skip to content

Commit

Permalink
test: exclude stories from coverage
Browse files Browse the repository at this point in the history
Stories are not production code, they do not need to be covered.
  • Loading branch information
SVendittelli committed Dec 21, 2023
1 parent e9b055a commit 4f761b9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions jest.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ const config = {
"./config/**",
"./libs/**",
"./middleware.ts",
"!./components/**/*.stories.tsx",
],
coverageDirectory: "./coverage/jest",
};
Expand Down

0 comments on commit 4f761b9

Please sign in to comment.