diff --git a/scm-ui/ui-components/package.json b/scm-ui/ui-components/package.json index 49952d607a..4ef705c3a6 100644 --- a/scm-ui/ui-components/package.json +++ b/scm-ui/ui-components/package.json @@ -13,8 +13,8 @@ "scripts": { "test": "jest", "storybook": "NODE_ENV=development start-storybook -s ../ui-webapp/public,src/__resources__", - "storyshots": "jest --testPathPattern=\"storyshots.test.js\" --testNamePattern \".*Button\" --collectCoverage=false", - "update-storyshots": "jest --testPathPattern=\"storyshots.test.js\" --testNamePattern \".*Button\" -u" + "storyshots": "jest --testPathPattern=\"storyshots.test.js\" --collectCoverage=false", + "update-storyshots": "jest --testPathPattern=\"storyshots.test.js\" --testNamePattern \".*Button\" --collectCoverage=false -u" }, "devDependencies": { "@scm-manager/ui-tests": "^2.0.0-SNAPSHOT", diff --git a/scm-ui/ui-components/src/storyshots.test.js b/scm-ui/ui-components/src/storyshots.test.js index ee4e34653e..cb4ac47004 100644 --- a/scm-ui/ui-components/src/storyshots.test.js +++ b/scm-ui/ui-components/src/storyshots.test.js @@ -2,5 +2,6 @@ import path from "path"; import initStoryshots from "@storybook/addon-storyshots"; initStoryshots({ - configPath: path.resolve(__dirname, "..", ".storybook") + configPath: path.resolve(__dirname, "..", ".storybook"), + storyKindRegex:/^((?!.*?MarkdownView|SyntaxHighlighter).)*$/ }); diff --git a/yarn.lock b/yarn.lock index 1e83fb0117..cc7e3ee756 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3344,6 +3344,11 @@ babel-code-frame@^6.22.0: esutils "^2.0.2" js-tokens "^3.0.2" +babel-core@7.0.0-bridge.0: + version "7.0.0-bridge.0" + resolved "https://registry.yarnpkg.com/babel-core/-/babel-core-7.0.0-bridge.0.tgz#95a492ddd90f9b4e9a4a1da14eb335b87b634ece" + integrity sha512-poPX9mZH/5CSanm50Q+1toVci6pv5KSRv/5TWCwtzQS5XEwn40BcCrgIeMFWP9CKKIniKXNxoIOnOq4VVlGXhg== + babel-eslint@^10.0.3: version "10.0.3" resolved "https://registry.yarnpkg.com/babel-eslint/-/babel-eslint-10.0.3.tgz#81a2c669be0f205e19462fed2482d33e4687a88a" @@ -6887,7 +6892,7 @@ gitconfiglocal@^1.0.0: dependencies: ini "^1.3.2" -gitdiff-parser@^0.1.2: +gitdiff-parser@^0.1.2, "gitdiff-parser@https://github.com/scm-manager/gitdiff-parser#6baa7278824ecd17a199d842ca720d0453f68982": version "0.1.2" resolved "https://github.com/scm-manager/gitdiff-parser#6baa7278824ecd17a199d842ca720d0453f68982"