File tree 2 files changed +2
-2
lines changed
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 56
56
"@babel/plugin-transform-runtime" : " ^7.2.0" ,
57
57
"@babel/preset-env" : " ^7.3.1" ,
58
58
"@babel/preset-react" : " ^7.0.0" ,
59
+ "@testing-library/jest-dom" : " ^4.2.0" ,
59
60
"@testing-library/react" : " ^9.3.0" ,
60
61
"babel-eslint" : " 11.0.0-beta.0" ,
61
62
"babel-plugin-macros" : " ^2.2.2" ,
69
70
"eslint-plugin-react" : " ^7.12.4" ,
70
71
"husky" : " ^1.0.1" ,
71
72
"jest" : " ^24.1.0" ,
72
- "jest-dom" : " ^3.0.1" ,
73
73
"lint-staged" : " ^8.1.3" ,
74
74
"prettier" : " ^1.16.4" ,
75
75
"react" : " ^16.5.2" ,
Original file line number Diff line number Diff line change
1
+ import '@testing-library/jest-dom/extend-expect' ;
1
2
import * as React from 'react' ;
2
3
import { render } from '@testing-library/react' ;
3
4
import TextareaAutosize from '../index' ;
4
- import 'jest-dom/extend-expect' ;
5
5
6
6
describe ( '<TextareaAutosize />' , ( ) => {
7
7
it ( 'renders default component' , ( ) => {
You can’t perform that action at this time.
0 commit comments