Skip to content

Conversation

yannbf
Copy link

@yannbf yannbf commented Dec 6, 2021

Hey @rexkenley thanks for helping with a repro!

@@ -26,9 +25,7 @@ const {
} = composeStories(stories);

test("Default", () => {
const { container } = render(
<Default {...(Default.args as ITimesheetSummaryProps)} />
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is no need to use args from the story because it's already contained in the component returned by composeStories! It should just work!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant