Closed as not planned
Description
Thank you for this nice library
Currently it's possible to trigger a load
event on a image:
Example:
const { getByTestId, debug } = render(<Stuff/>);
fireEvent.load(getByTestId('my-stuff'));
expect(stuff).toHaveBeenCalledWith(true);
But is there any way to do that with script
?
Should we implement it here
dom-testing-library/src/__tests__/events.js
Line 109 in 6c4486c
Metadata
Metadata
Assignees
Labels
No labels