We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 53c16ee commit 12330edCopy full SHA for 12330ed
src/index.spec.js
@@ -2,7 +2,6 @@
2
import React, { createRef } from 'react'
3
import { cleanup, fireEvent, render } from '@testing-library/react'
4
import { renderHook } from '@testing-library/react-hooks'
5
-import '@testing-library/jest-dom/extend-expect'
6
import { fromEvent } from 'file-selector'
7
import * as utils from './utils'
8
import Dropzone, { useDropzone } from './index'
testSetup.js
@@ -1,5 +1,5 @@
1
// https://www.npmjs.com/package/jest-dom
-require('jest-dom/extend-expect')
+require('@testing-library/jest-dom/extend-expect')
// TODO: Ignore warnings about act(), it refers to having async side effects updating the state;
// This happens because our async getFilesFromEvent() fn
0 commit comments