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

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

上级 354de284
/* eslint-env jest */
import React from 'react'
import { render } from 'react-testing-library'
import { render } from '@testing-library/react'
import App from '../pages/index.js'
......
......@@ -3,14 +3,14 @@
"version": "1.0.0",
"dependencies": {
"next": "latest",
"react": "^16.7.0",
"react-dom": "^16.7.0"
"react": "^16.11.0",
"react-dom": "^16.11.0"
},
"devDependencies": {
"@babel/core": "7.3.4",
"babel-jest": "24.1.0",
"jest": "24.1.0",
"react-testing-library": "^5.4.2"
"@babel/core": "7.6.4",
"@testing-library/react": "9.3.2",
"babel-jest": "24.9.0",
"jest": "24.9.0"
},
"scripts": {
"test": "jest",
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册