diff --git a/src/App/TodoList/Item/index.test.tsx b/src/App/TodoList/Item/index.test.tsx index b48bce3..b93a6b9 100644 --- a/src/App/TodoList/Item/index.test.tsx +++ b/src/App/TodoList/Item/index.test.tsx @@ -1,7 +1,7 @@ import React from 'react' import { render, fireEvent } from '@testing-library/react' import Provider, { useAppState } from '@laststance/use-app-state' -import '@testing-library/jest-dom/extend-expect' +import '@testing-library/jest-dom' import Item from './index' import { AppState } from '../../../index' diff --git a/src/App/TodoList/index.test.tsx b/src/App/TodoList/index.test.tsx index dd6656a..7b23b03 100644 --- a/src/App/TodoList/index.test.tsx +++ b/src/App/TodoList/index.test.tsx @@ -1,7 +1,7 @@ import React from 'react' import { render, fireEvent } from '@testing-library/react' import Provider from '@laststance/use-app-state' -import '@testing-library/jest-dom/extend-expect' +import '@testing-library/jest-dom' import TodoList from './index' import { AppState } from '../../index' diff --git a/src/ErrorBoundary.test.js b/src/ErrorBoundary.test.js index 109bbe8..55d44fc 100644 --- a/src/ErrorBoundary.test.js +++ b/src/ErrorBoundary.test.js @@ -2,7 +2,7 @@ import React from 'react' import { render } from '@testing-library/react' import ErrorBoundary from './ErrorBoundary' -import '@testing-library/jest-dom/extend-expect' +import '@testing-library/jest-dom' test('should render fallback page Error was thrown', () => { const InvalidComponent = () => undefined