Skip to content

Commit

Permalink
fix(npm): Update dependencies, fix test env (#341)
Browse files Browse the repository at this point in the history
  • Loading branch information
obartra authored Dec 24, 2017
1 parent 5abbb0c commit 78d7363
Show file tree
Hide file tree
Showing 3 changed files with 342 additions and 242 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"@storybook/react": "3.2.19",
"all-contributors-cli": "4.10.1",
"babel-cli": "6.26.0",
"babel-eslint": "8.0.3",
"babel-eslint": "8.1.0",
"babel-jest": "22.0.4",
"babel-plugin-flow-react-proptypes": "13.0.0",
"babel-plugin-lodash": "3.3.2",
Expand Down Expand Up @@ -73,7 +73,7 @@
"html-loader": "0.5.1",
"husky": "0.14.3",
"ignore-loader": "0.1.2",
"jest": "21.2.1",
"jest": "22.0.4",
"lint-staged": "6.0.0",
"lodash": "4.17.4",
"markdown-loader": "2.0.1",
Expand Down
6 changes: 6 additions & 0 deletions test/storyshots.spec.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
import initStoryshots from '@storybook/addon-storyshots'
import './env'

jest.mock('react-dom', () => ({
render: () => null,
unmountComponentAtNode: () => null,
findDOMNode: () => null,
}))

jest.mock('../src/cxs', () => i => {
function sortObject(object) {
const sorted = {}
Expand Down
Loading

0 comments on commit 78d7363

Please sign in to comment.