Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
N
next.js
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Alex
next.js
Commits
5bb710a0
Commit
5bb710a0
authored
Dec 19, 2017
by
Brice BERNARD
Committed by
Tim Neutkens
Dec 19, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[with-jest] Upgrade to jest 22 and so remove raf deps (#3477)
parent
9bc681be
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
11 deletions
+3
-11
.babelrc
examples/with-jest/.babelrc
+1
-7
jest.setup.js
examples/with-jest/jest.setup.js
+0
-1
package.json
examples/with-jest/package.json
+2
-3
No files found.
examples/with-jest/.babelrc
View file @
5bb710a0
...
@@ -7,13 +7,7 @@
...
@@ -7,13 +7,7 @@
"presets": ["next/babel"]
"presets": ["next/babel"]
},
},
"test": {
"test": {
"presets": [
"presets": [["next/babel", { "preset-env": { "modules": "commonjs" } }]]
["next/babel", {
"preset-env": {
"modules": "commonjs"
}
}]
]
}
}
}
}
}
}
examples/with-jest/jest.setup.js
View file @
5bb710a0
import
'raf/polyfill'
import
{
configure
}
from
'enzyme'
import
{
configure
}
from
'enzyme'
import
Adapter
from
'enzyme-adapter-react-16'
import
Adapter
from
'enzyme-adapter-react-16'
...
...
examples/with-jest/package.json
View file @
5bb710a0
...
@@ -8,9 +8,8 @@
...
@@ -8,9 +8,8 @@
},
},
"devDependencies"
:
{
"devDependencies"
:
{
"enzyme"
:
"3.2.0"
,
"enzyme"
:
"3.2.0"
,
"enzyme-adapter-react-16"
:
"1.1.0"
,
"enzyme-adapter-react-16"
:
"1.1.1"
,
"jest"
:
"21.2.1"
,
"jest"
:
"22.0.1"
,
"raf"
:
"3.4.0"
,
"react-addons-test-utils"
:
"15.6.2"
,
"react-addons-test-utils"
:
"15.6.2"
,
"react-test-renderer"
:
"16.2.0"
"react-test-renderer"
:
"16.2.0"
},
},
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment