Skip to content

Commit

Permalink
Use scoped jest-dom package
Browse files Browse the repository at this point in the history
  • Loading branch information
Andarist committed Oct 29, 2019
1 parent e5d4e70 commit 328720c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@
"@babel/plugin-transform-runtime": "^7.2.0",
"@babel/preset-env": "^7.3.1",
"@babel/preset-react": "^7.0.0",
"@testing-library/jest-dom": "^4.2.0",
"@testing-library/react": "^9.3.0",
"babel-eslint": "11.0.0-beta.0",
"babel-plugin-macros": "^2.2.2",
Expand All @@ -69,7 +70,6 @@
"eslint-plugin-react": "^7.12.4",
"husky": "^1.0.1",
"jest": "^24.1.0",
"jest-dom": "^3.0.1",
"lint-staged": "^8.1.3",
"prettier": "^1.16.4",
"react": "^16.5.2",
Expand Down
2 changes: 1 addition & 1 deletion src/__tests__/index.test.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import '@testing-library/jest-dom/extend-expect';
import * as React from 'react';
import { render } from '@testing-library/react';
import TextareaAutosize from '../index';
import 'jest-dom/extend-expect';

describe('<TextareaAutosize />', () => {
it('renders default component', () => {
Expand Down

0 comments on commit 328720c

Please sign in to comment.