mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-09 06:55:47 +01:00
disable MarkdownView and SyntaxHighligter snapshot tests
This commit is contained in:
@@ -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",
|
||||||
|
|||||||
@@ -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).)*$/
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -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"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user