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
e9e06099
Commit
e9e06099
authored
Nov 05, 2019
by
Mikhail Guskov
Committed by
Luis Alvarez D
Nov 05, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update with-jest-react-testing-library (#9307)
parent
354de284
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
7 deletions
+7
-7
index.test.js
...s/with-jest-react-testing-library/__tests__/index.test.js
+1
-1
package.json
examples/with-jest-react-testing-library/package.json
+6
-6
No files found.
examples/with-jest-react-testing-library/__tests__/index.test.js
View file @
e9e06099
/* eslint-env jest */
/* eslint-env jest */
import
React
from
'react'
import
React
from
'react'
import
{
render
}
from
'
react-testing-library
'
import
{
render
}
from
'
@testing-library/react
'
import
App
from
'../pages/index.js'
import
App
from
'../pages/index.js'
...
...
examples/with-jest-react-testing-library/package.json
View file @
e9e06099
...
@@ -3,14 +3,14 @@
...
@@ -3,14 +3,14 @@
"version"
:
"1.0.0"
,
"version"
:
"1.0.0"
,
"dependencies"
:
{
"dependencies"
:
{
"next"
:
"latest"
,
"next"
:
"latest"
,
"react"
:
"^16.
7
.0"
,
"react"
:
"^16.
11
.0"
,
"react-dom"
:
"^16.
7
.0"
"react-dom"
:
"^16.
11
.0"
},
},
"devDependencies"
:
{
"devDependencies"
:
{
"@babel/core"
:
"7.
3
.4"
,
"@babel/core"
:
"7.
6
.4"
,
"
babel-jest"
:
"24.1.0
"
,
"
@testing-library/react"
:
"9.3.2
"
,
"
jest"
:
"24.1
.0"
,
"
babel-jest"
:
"24.9
.0"
,
"
react-testing-library"
:
"^5.4.2
"
"
jest"
:
"24.9.0
"
},
},
"scripts"
:
{
"scripts"
:
{
"test"
:
"jest"
,
"test"
:
"jest"
,
...
...
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