Skip to content

Commit

Permalink
[with-jest] Upgrade to jest 22 and so remove raf deps (#3477)
Browse files Browse the repository at this point in the history
  • Loading branch information
brikou authored and timneutkens committed Dec 19, 2017
1 parent 9bc681b commit 5bb710a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 11 deletions.
8 changes: 1 addition & 7 deletions examples/with-jest/.babelrc
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,7 @@
"presets": ["next/babel"]
},
"test": {
"presets": [
["next/babel", {
"preset-env": {
"modules": "commonjs"
}
}]
]
"presets": [["next/babel", { "preset-env": { "modules": "commonjs" } }]]
}
}
}
1 change: 0 additions & 1 deletion examples/with-jest/jest.setup.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import 'raf/polyfill'
import { configure } from 'enzyme'
import Adapter from 'enzyme-adapter-react-16'

Expand Down
5 changes: 2 additions & 3 deletions examples/with-jest/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,8 @@
},
"devDependencies": {
"enzyme": "3.2.0",
"enzyme-adapter-react-16": "1.1.0",
"jest": "21.2.1",
"raf": "3.4.0",
"enzyme-adapter-react-16": "1.1.1",
"jest": "22.0.1",
"react-addons-test-utils": "15.6.2",
"react-test-renderer": "16.2.0"
},
Expand Down

0 comments on commit 5bb710a

Please sign in to comment.