Skip to content

Commit

Permalink
Merge pull request #113 from edx/ari/FEDX-491
Browse files Browse the repository at this point in the history
fix(tests): upgrade *-jest-* packages and patch to work with storyshots
  • Loading branch information
arizzitano authored Dec 27, 2017
2 parents 5e57d2e + 4f737da commit 310f64b
Show file tree
Hide file tree
Showing 3 changed files with 530 additions and 561 deletions.
8 changes: 8 additions & 0 deletions .storybook/Storyshots.test.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
import initStoryshots from '@storybook/addon-storyshots';

// per https://github.com/storybooks/storybook/issues/2522
jest.mock("react-dom", () => {
return {
render: () => null,
unmountComponentAtNode: () => null,
};
});

initStoryshots();
Loading

0 comments on commit 310f64b

Please sign in to comment.