mirror of
https://github.com/suren-atoyan/monaco-react.git
synced 2026-01-18 15:54:45 +00:00
replace 'jest-dom' with '@testing-library/jest-dom'
This commit is contained in:
parent
e13bde874b
commit
509ea798da
@ -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', () => {
|
||||
|
||||
@ -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', () => {
|
||||
|
||||
@ -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', () => {
|
||||
|
||||
@ -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', () => {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user