fix tests

This commit is contained in:
Norbert de Langen 2023-01-14 00:52:49 +01:00
parent 0476d11ebd
commit 9eb364ebd9
No known key found for this signature in database
GPG Key ID: FD0E78AF9A837762
2 changed files with 0 additions and 6 deletions

View File

@ -5,7 +5,6 @@ exports[`Renders CSF2Secondary story 1`] = `
<div>
<button
class="storybook-button storybook-button--medium storybook-button--secondary"
label="Button"
type="button"
>
Children coming from story args!
@ -32,7 +31,6 @@ exports[`Renders CSF2StoryWithParamsAndDecorator story 1`] = `
<div>
<button
class="storybook-button storybook-button--medium storybook-button--secondary"
label="Button"
type="button"
>
foo
@ -46,7 +44,6 @@ exports[`Renders CSF3Button story 1`] = `
<div>
<button
class="storybook-button storybook-button--medium storybook-button--secondary"
label="Button"
type="button"
>
foo
@ -66,7 +63,6 @@ exports[`Renders CSF3ButtonWithRender story 1`] = `
</p>
<button
class="storybook-button storybook-button--medium storybook-button--secondary"
label="Button"
type="button"
>
foo
@ -91,7 +87,6 @@ exports[`Renders CSF3Primary story 1`] = `
<div>
<button
class="storybook-button storybook-button--large storybook-button--primary"
label="Button"
type="button"
>
foo

View File

@ -13,7 +13,6 @@ const { CSF2StoryWithParamsAndDecorator } = composeStories(stories);
test('returns composed args including default values from argtypes', () => {
expect(CSF2StoryWithParamsAndDecorator.args).toEqual({
...stories.CSF2StoryWithParamsAndDecorator.args,
label: stories.default.argTypes!.label!.defaultValue,
});
});