提交 e9e06099 编写于 作者: M Mikhail Guskov 提交者: Luis Alvarez D

update with-jest-react-testing-library (#9307)

上级 354de284
/* 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'
......
...@@ -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",
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册