Skip to content

Commit

Permalink
fix: tests update
Browse files Browse the repository at this point in the history
  • Loading branch information
atanasster committed May 23, 2020
1 parent 4668e13 commit 9a6c569
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 23 deletions.
24 changes: 4 additions & 20 deletions core/config/test/__snapshots__/stories.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ Array [
"/Users/atanasster/component-controls/ui/components/src/Collapsible/Collapsible.stories.tsx",
"/Users/atanasster/component-controls/ui/components/src/ExternalLink/ExternalLink.stories.tsx",
"/Users/atanasster/component-controls/ui/components/src/Markdown/Markdown.stories.tsx",
"/Users/atanasster/component-controls/ui/components/src/PanelContainer/PanelContainer.stories.tsx",
"/Users/atanasster/component-controls/ui/components/src/Popover/Popover.stories.tsx",
"/Users/atanasster/component-controls/ui/components/src/Source/Source.stories.tsx",
"/Users/atanasster/component-controls/ui/components/src/Subtitle/Subtitle.stories.tsx",
Expand All @@ -43,19 +44,10 @@ Array [
"/Users/atanasster/component-controls/ui/blocks/src/Title/Title.stories.tsx",
"/Users/atanasster/component-controls/examples/stories/src/stories/controls-editors-starter.stories.tsx",
"/Users/atanasster/component-controls/examples/stories/src/stories/controls-editors.stories.js",
"/Users/atanasster/component-controls/examples/stories/src/stories/controls/controls-array.stories.js",
"/Users/atanasster/component-controls/examples/stories/src/stories/controls/controls-boolean.stories.js",
"/Users/atanasster/component-controls/examples/stories/src/stories/controls/controls-button.stories.js",
"/Users/atanasster/component-controls/examples/stories/src/stories/controls/controls-color.stories.js",
"/Users/atanasster/component-controls/examples/stories/src/stories/controls/controls-date.stories.js",
"/Users/atanasster/component-controls/examples/stories/src/stories/controls/controls-files.stories.js",
"/Users/atanasster/component-controls/examples/stories/src/stories/controls/controls-number.stories.js",
"/Users/atanasster/component-controls/examples/stories/src/stories/controls/controls-object.stories.js",
"/Users/atanasster/component-controls/examples/stories/src/stories/controls/controls-options.stories.js",
"/Users/atanasster/component-controls/examples/stories/src/stories/controls/controls-text.stories.js",
"/Users/atanasster/component-controls/examples/stories/src/stories/inherit-from-kind.stories.tsx",
"/Users/atanasster/component-controls/examples/stories/src/stories/smart-prop-type.stories.js",
"/Users/atanasster/component-controls/examples/stories/src/stories/smart-typescript.stories.js",
"/Users/atanasster/component-controls/examples/stories/src/stories/stories-csf.stories.js",
]
`;

Expand All @@ -78,6 +70,7 @@ Array [
"/Users/atanasster/component-controls/ui/components/src/Collapsible/Collapsible.stories.tsx",
"/Users/atanasster/component-controls/ui/components/src/ExternalLink/ExternalLink.stories.tsx",
"/Users/atanasster/component-controls/ui/components/src/Markdown/Markdown.stories.tsx",
"/Users/atanasster/component-controls/ui/components/src/PanelContainer/PanelContainer.stories.tsx",
"/Users/atanasster/component-controls/ui/components/src/Popover/Popover.stories.tsx",
"/Users/atanasster/component-controls/ui/components/src/Source/Source.stories.tsx",
"/Users/atanasster/component-controls/ui/components/src/Subtitle/Subtitle.stories.tsx",
Expand All @@ -102,18 +95,9 @@ Array [
"/Users/atanasster/component-controls/ui/blocks/src/Title/Title.stories.tsx",
"/Users/atanasster/component-controls/examples/stories/src/stories/controls-editors-starter.stories.tsx",
"/Users/atanasster/component-controls/examples/stories/src/stories/controls-editors.stories.js",
"/Users/atanasster/component-controls/examples/stories/src/stories/controls/controls-array.stories.js",
"/Users/atanasster/component-controls/examples/stories/src/stories/controls/controls-boolean.stories.js",
"/Users/atanasster/component-controls/examples/stories/src/stories/controls/controls-button.stories.js",
"/Users/atanasster/component-controls/examples/stories/src/stories/controls/controls-color.stories.js",
"/Users/atanasster/component-controls/examples/stories/src/stories/controls/controls-date.stories.js",
"/Users/atanasster/component-controls/examples/stories/src/stories/controls/controls-files.stories.js",
"/Users/atanasster/component-controls/examples/stories/src/stories/controls/controls-number.stories.js",
"/Users/atanasster/component-controls/examples/stories/src/stories/controls/controls-object.stories.js",
"/Users/atanasster/component-controls/examples/stories/src/stories/controls/controls-options.stories.js",
"/Users/atanasster/component-controls/examples/stories/src/stories/controls/controls-text.stories.js",
"/Users/atanasster/component-controls/examples/stories/src/stories/inherit-from-kind.stories.tsx",
"/Users/atanasster/component-controls/examples/stories/src/stories/smart-prop-type.stories.js",
"/Users/atanasster/component-controls/examples/stories/src/stories/smart-typescript.stories.js",
"/Users/atanasster/component-controls/examples/stories/src/stories/stories-csf.stories.js",
]
`;
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

exports[`imports ../../../ui/blocks/src/Story/Story.tsx 1`] = `
Object {
"description": "",
"description": "block component to render story function with decorators",
"displayName": "Story",
"methods": Array [],
"props": Object {
Expand Down Expand Up @@ -41,6 +41,18 @@ from the title.",
"raw": "string",
},
},
"onRender": Object {
"type": Object {
"name": "() => void",
"raw": "() => void",
},
},
"ref": Object {
"type": Object {
"name": "Ref<HTMLDivElement>",
"raw": "Ref<HTMLDivElement>",
},
},
"sxStyle": Object {
"description": "theme-ui styling object for Block Box",
"parentName": "BlockContainerProps",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -934,8 +934,8 @@ A hint could be a sample value or a brief description of the expected format.",
"key": Object {
"parentName": "Attributes",
"type": Object {
"name": "Key",
"raw": "Key",
"name": "ReactText",
"raw": "ReactText",
},
},
"lang": Object {
Expand Down

0 comments on commit 9a6c569

Please sign in to comment.