Skip to content

Commit

Permalink
Use the default import path for jest-dom.
Browse files Browse the repository at this point in the history
  • Loading branch information
caiocotts committed Jan 17, 2024
1 parent d0df81a commit 6cff91e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ui/src/common/Linkify.test.js
@@ -1,6 +1,6 @@
import React from 'react'
import { render, screen } from '@testing-library/react'
import '@testing-library/jest-dom/extend-expect'
import '@testing-library/jest-dom'
import Linkify from './Linkify'

const URL = 'http://www.example.com'
Expand Down
2 changes: 1 addition & 1 deletion ui/src/setupTests.js
Expand Up @@ -2,7 +2,7 @@
// allows you to do things like:
// expect(element).toHaveTextContent(/react/i)
// learn more: https://github.com/testing-library/jest-dom
import '@testing-library/jest-dom/extend-expect'
import '@testing-library/jest-dom'

const localStorageMock = (function () {
let store = {}
Expand Down

0 comments on commit 6cff91e

Please sign in to comment.