diff --git a/stories/__snapshots__/interaction.stories.storyshot b/stories/__snapshots__/interaction.stories.storyshot new file mode 100644 index 0000000..a9699c5 --- /dev/null +++ b/stories/__snapshots__/interaction.stories.storyshot @@ -0,0 +1,36 @@ +// Jest Snapshot v1, https://goo.gl/fbAQLP + +exports[`Storyshots Interactions Play 1`] = ` +
+ +
+

+ Counter +

+ +

+ You clicked + 0 + times +

+ + + + +
+ + +
+`; diff --git a/stories/svelteshots.test.js b/stories/svelteshots.test.js index 704f186..e51b6d9 100644 --- a/stories/svelteshots.test.js +++ b/stories/svelteshots.test.js @@ -8,6 +8,8 @@ initStoryshots({ framework: 'svelte', configPath: path.join(__dirname, '../.storybook'), integrityOptions: { cwd: __dirname }, - stories2snapsConverter: new Stories2SnapsConverter({ storiesExtensions: ['.js', '.svelte'] }), + stories2snapsConverter: new Stories2SnapsConverter({ + storiesExtensions: ['.js', '.svelte'], + snapshotsDirName: '../__snapshots__' }), test: multiSnapshotWithOptions(), });