Skip to content

Commit

Permalink
Apply any to a whole argument
Browse files Browse the repository at this point in the history
  • Loading branch information
dominik-zeglen committed Jan 7, 2019
1 parent 47ca78c commit e0aa0ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion saleor/static/dashboard-next/storybook/Stories.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jest.mock("@material-ui/core/styles/createGenerateClassName");
initStoryshots({
configPath: "saleor/static/dashboard-next/storybook/",
test({ story }) {
const result = render((story as any).render());
const result = render(story.render() as any);
expect(toJSON(result)).toMatchSnapshot();
}
});

0 comments on commit e0aa0ca

Please sign in to comment.