replace 'jest-dom' with '@testing-library/jest-dom'

This commit is contained in:
Suren Atoyan 2019-10-03 12:50:48 +04:00
parent e13bde874b
commit 509ea798da
4 changed files with 4 additions and 4 deletions

View File

@ -1,7 +1,7 @@
import React from 'react';
import ControlledEditor from '.';
import { render } from '@testing-library/react';
import 'jest-dom/extend-expect';
import '@testing-library/jest-dom/extend-expect';
describe('<ControlledEditor />', () => {
it('should check render with snapshot', () => {

View File

@ -1,7 +1,7 @@
import React from 'react';
import DiffEditor from '.';
import { render } from '@testing-library/react';
import 'jest-dom/extend-expect';
import '@testing-library/jest-dom/extend-expect';
describe('<DiffEditor />', () => {
it('should check render with snapshot', () => {

View File

@ -1,7 +1,7 @@
import React from 'react';
import Editor from '.';
import { render } from '@testing-library/react';
import 'jest-dom/extend-expect';
import '@testing-library/jest-dom/extend-expect';
describe('<Editor />', () => {
it('should check render with snapshot', () => {

View File

@ -1,7 +1,7 @@
import React from 'react';
import Loading from '.';
import { render } from '@testing-library/react';
import 'jest-dom/extend-expect';
import '@testing-library/jest-dom/extend-expect';
describe('<Loading />', () => {
it('should check render with snapshot', () => {