Skip to content

Commit 6203cb8

Browse files
committed
feedback from Chromatic team - use renderOnly
1 parent 85ad9db commit 6203cb8

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,5 +21,4 @@
2121
npm-debug.log*
2222
yarn-debug.log*
2323
yarn-error.log*
24-
/storyshots/__snapshots__
2524
/cypress/videos

storyshots/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
import initStoryshots from '@storybook/addon-storyshots';
1+
import initStoryshots, {renderOnly} from '@storybook/addon-storyshots';
22

3-
initStoryshots();
3+
initStoryshots({test: renderOnly});

0 commit comments

Comments
 (0)