Skip to content

Commit

Permalink
remove testing-library legacy syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
tomastudja committed Feb 18, 2020
1 parent f9aaff8 commit 9726a5c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion 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'

Expand Down
2 changes: 1 addition & 1 deletion 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'

Expand Down
2 changes: 1 addition & 1 deletion src/ErrorBoundary.test.js
Expand Up @@ -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
Expand Down

0 comments on commit 9726a5c

Please sign in to comment.