From 176affb3e50e4a676d5b31e2287a063187d7672d Mon Sep 17 00:00:00 2001 From: Sebastian Sdorra Date: Fri, 11 Oct 2019 15:23:45 +0200 Subject: [PATCH] fixed snapshot tests on ci --- .../src/__snapshots__/storyshots.test.js.snap | 64 ++++++++++++++++++- scm-ui/ui-components/src/storyshots.test.js | 3 +- 2 files changed, 64 insertions(+), 3 deletions(-) diff --git a/scm-ui/ui-components/src/__snapshots__/storyshots.test.js.snap b/scm-ui/ui-components/src/__snapshots__/storyshots.test.js.snap index 32fb9a2e1d..b50664aae2 100644 --- a/scm-ui/ui-components/src/__snapshots__/storyshots.test.js.snap +++ b/scm-ui/ui-components/src/__snapshots__/storyshots.test.js.snap @@ -18,11 +18,11 @@ exports[`Storyshots Button Colors 1`] = ` className="sc-bwzfXH EEAiO" > @@ -38,6 +38,18 @@ exports[`Storyshots Button Colors 1`] = ` +
+ +
@@ -62,6 +74,42 @@ exports[`Storyshots Button Colors 1`] = `
+
+ +
+
+ +
+
+ +
@@ -74,6 +122,18 @@ exports[`Storyshots Button Colors 1`] = `
+
+ +
`; diff --git a/scm-ui/ui-components/src/storyshots.test.js b/scm-ui/ui-components/src/storyshots.test.js index bb126dc23f..ee4e34653e 100644 --- a/scm-ui/ui-components/src/storyshots.test.js +++ b/scm-ui/ui-components/src/storyshots.test.js @@ -1,5 +1,6 @@ +import path from "path"; import initStoryshots from "@storybook/addon-storyshots"; initStoryshots({ - /* configuration options */ + configPath: path.resolve(__dirname, "..", ".storybook") });