Use the default import path for jest-dom.

This commit is contained in:
caiocotts 2024-01-17 16:46:22 -05:00 committed by Caio Cotts
parent d0df81a8df
commit 6cff91e17d
2 changed files with 2 additions and 2 deletions

View File

@ -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'

View File

@ -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 = {}