disable MarkdownView and SyntaxHighligter snapshot tests

This commit is contained in:
Sebastian Sdorra
2019-10-17 12:42:31 +02:00
parent 3725d31194
commit 3e6e7bd4cb
3 changed files with 10 additions and 4 deletions

View File

@@ -13,8 +13,8 @@
"scripts": { "scripts": {
"test": "jest", "test": "jest",
"storybook": "NODE_ENV=development start-storybook -s ../ui-webapp/public,src/__resources__", "storybook": "NODE_ENV=development start-storybook -s ../ui-webapp/public,src/__resources__",
"storyshots": "jest --testPathPattern=\"storyshots.test.js\" --testNamePattern \".*Button\" --collectCoverage=false", "storyshots": "jest --testPathPattern=\"storyshots.test.js\" --collectCoverage=false",
"update-storyshots": "jest --testPathPattern=\"storyshots.test.js\" --testNamePattern \".*Button\" -u" "update-storyshots": "jest --testPathPattern=\"storyshots.test.js\" --testNamePattern \".*Button\" --collectCoverage=false -u"
}, },
"devDependencies": { "devDependencies": {
"@scm-manager/ui-tests": "^2.0.0-SNAPSHOT", "@scm-manager/ui-tests": "^2.0.0-SNAPSHOT",

View File

@@ -2,5 +2,6 @@ import path from "path";
import initStoryshots from "@storybook/addon-storyshots"; import initStoryshots from "@storybook/addon-storyshots";
initStoryshots({ initStoryshots({
configPath: path.resolve(__dirname, "..", ".storybook") configPath: path.resolve(__dirname, "..", ".storybook"),
storyKindRegex:/^((?!.*?MarkdownView|SyntaxHighlighter).)*$/
}); });

View File

@@ -3344,6 +3344,11 @@ babel-code-frame@^6.22.0:
esutils "^2.0.2" esutils "^2.0.2"
js-tokens "^3.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: babel-eslint@^10.0.3:
version "10.0.3" version "10.0.3"
resolved "https://registry.yarnpkg.com/babel-eslint/-/babel-eslint-10.0.3.tgz#81a2c669be0f205e19462fed2482d33e4687a88a" resolved "https://registry.yarnpkg.com/babel-eslint/-/babel-eslint-10.0.3.tgz#81a2c669be0f205e19462fed2482d33e4687a88a"
@@ -6887,7 +6892,7 @@ gitconfiglocal@^1.0.0:
dependencies: dependencies:
ini "^1.3.2" 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" version "0.1.2"
resolved "https://github.com/scm-manager/gitdiff-parser#6baa7278824ecd17a199d842ca720d0453f68982" resolved "https://github.com/scm-manager/gitdiff-parser#6baa7278824ecd17a199d842ca720d0453f68982"