1
0
Fork 0
mirror of https://github.com/terribleplan/next.js.git synced 2024-01-19 02:48:18 +00:00

[with-jest] Upgrade to jest 22 and so remove raf deps (#3477)

This commit is contained in:
Brice BERNARD 2017-12-19 10:29:29 +01:00 committed by Tim Neutkens
parent 9bc681bea1
commit 5bb710a0d2
3 changed files with 3 additions and 11 deletions

View file

@ -7,13 +7,7 @@
"presets": ["next/babel"]
},
"test": {
"presets": [
["next/babel", {
"preset-env": {
"modules": "commonjs"
}
}]
]
"presets": [["next/babel", { "preset-env": { "modules": "commonjs" } }]]
}
}
}

View file

@ -1,4 +1,3 @@
import 'raf/polyfill'
import { configure } from 'enzyme'
import Adapter from 'enzyme-adapter-react-16'

View file

@ -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"
},