Skip to content

Commit

Permalink
Fix #290 - Fix failing snapshot tests
Browse files Browse the repository at this point in the history
  • Loading branch information
sam-dassana committed Apr 13, 2021
1 parent 48957a8 commit 401dbfa
Showing 1 changed file with 53 additions and 45 deletions.
98 changes: 53 additions & 45 deletions src/__snapshots__/storybook.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -937,27 +937,30 @@ exports[`Storyshots Code Default 1`] = `
<div
className="light storyWrapper-0-2-2"
>
<input
autoFocus={false}
className="ant-input container-0-2-50 container-d4-0-2-71 search-0-2-70"
data-test="input"
disabled={false}
onBlur={[Function]}
onChange={[Function]}
onFocus={[Function]}
onKeyDown={[Function]}
placeholder="Search..."
type="text"
value=""
/>
<pre
className="line-numbers"
contentEditable={false}
<div
className=""
>
<code
className="language-json"
<input
autoFocus={false}
className="ant-input container-0-2-50 container-d4-0-2-71 search-0-2-70"
data-test="input"
disabled={false}
onBlur={[Function]}
onChange={[Function]}
onFocus={[Function]}
onKeyDown={[Function]}
placeholder="Search..."
type="text"
value=""
/>
<pre
className="line-numbers"
contentEditable={false}
>
{
<code
className="language-json"
>
{
"dassana": {
"context": {
"attachedResources": {
Expand Down Expand Up @@ -993,41 +996,46 @@ exports[`Storyshots Code Default 1`] = `
}
}
}
</code>
</pre>
</code>
</pre>
</div>
</div>
`;

exports[`Storyshots Code HTML 1`] = `
<div
className="light storyWrapper-0-2-2"
>
<input
autoFocus={false}
className="ant-input container-0-2-50 container-d5-0-2-72 search-0-2-70"
data-test="input"
disabled={false}
onBlur={[Function]}
onChange={[Function]}
onFocus={[Function]}
onKeyDown={[Function]}
placeholder=""
type="text"
value=""
/>
<pre
className="line-numbers"
contentEditable={false}
<div
className=""
>
<code
className="language-html"
<input
autoFocus={false}
className="ant-input container-0-2-50 container-d5-0-2-72 search-0-2-70"
data-test="input"
disabled={false}
onBlur={[Function]}
onChange={[Function]}
onFocus={[Function]}
onKeyDown={[Function]}
placeholder=""
type="text"
value=""
/>
<pre
className="line-numbers"
contentEditable={false}
>
&lt;div&gt;
<code
className="language-html"
>
&lt;div&gt;
&lt;p&gt;Lorem Ipsum&lt;/p&gt;
&lt;span&gt;dolor sit amet&lt;/span&gt;
&lt;/div&gt;
</code>
</pre>
</code>
</pre>
</div>
</div>
`;

Expand Down Expand Up @@ -4101,13 +4109,13 @@ exports[`Storyshots Tabs Default 1`] = `
className="tab-0-2-188 activeTab-0-2-187"
onClick={[Function]}
>
Foo
Lorem
</li>
<li
className="tab-0-2-188"
onClick={[Function]}
>
Bar
Ipsum
</li>
</div>
<div
Expand All @@ -4116,7 +4124,7 @@ exports[`Storyshots Tabs Default 1`] = `
<div
className="tabPane-0-2-189"
>
Foo content text
Banana mochi muffin
</div>
</div>
</div>
Expand Down

0 comments on commit 401dbfa

Please sign in to comment.