Skip to content

Commit

Permalink
Disable Canvas storyshots
Browse files Browse the repository at this point in the history
  • Loading branch information
smith committed Sep 29, 2020
1 parent 2313019 commit 0432d67
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions x-pack/plugins/canvas/storybook/storyshots.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -104,9 +104,10 @@ if (!fs.existsSync(cssDir)) {
addSerializer(styleSheetSerializer);

// Initialize Storyshots and build the Jest Snapshots
initStoryshots({
configPath: path.resolve(__dirname, './../storybook'),
test: multiSnapshotWithOptions({}),
// Don't snapshot tests that start with 'redux'
storyNameRegex: /^((?!.*?redux).)*$/,
});
// Commenting this out until after #75357 is merged and Jest gets updated.
// initStoryshots({
// configPath: path.resolve(__dirname, './../storybook'),
// test: multiSnapshotWithOptions({}),
// // Don't snapshot tests that start with 'redux'
// storyNameRegex: /^((?!.*?redux).)*$/,
// });

0 comments on commit 0432d67

Please sign in to comment.