Fix snapshot tests
This commit is contained in:
parent
8c3e015ffc
commit
f8c62f3bb9
1 changed files with 1 additions and 1 deletions
|
@ -19,7 +19,7 @@ jest.mock("draft-js/lib/generateRandomKey");
|
|||
(generateRandomKey as any).mockImplementation(() => "testKey");
|
||||
|
||||
initStoryshots({
|
||||
configPath: "saleor/static/dashboard-next/storybook/",
|
||||
configPath: "src/storybook/",
|
||||
test({ story }) {
|
||||
const result = render(story.render() as any);
|
||||
expect(toJSON(result)).toMatchSnapshot();
|
||||
|
|
Loading…
Reference in a new issue