Skip to content

Commit

Permalink
Update storybook.md
Browse files Browse the repository at this point in the history
  • Loading branch information
tsengyushiang authored Aug 27, 2024
1 parent 0abbc73 commit b121661
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions frontend/storybook.md
Original file line number Diff line number Diff line change
Expand Up @@ -280,3 +280,16 @@ yarn add -D @storybook/addon-coverage
```
npx nyc report --reporter=lcov -t coverage/storybook --report-dir coverage/storybook
```

- Define the coverage threshold by creating a `.nycrc` file with the following content:

```
{
"all": true,
"check-coverage": true,
"branches": 80,
"functions": 80,
"lines": 80,
"statements": 80
}
```

0 comments on commit b121661

Please sign in to comment.