Skip to content

Commit

Permalink
fixup! Fix(web-react): FileUploaderInput className #DS-1508
Browse files Browse the repository at this point in the history
  • Loading branch information
curdaj committed Oct 21, 2024
1 parent 3450c1e commit f6fe608
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ describe('Listener approach', () => {
});
});

describe('mock useeffect approach', () => {
describe('mock useEffect approach', () => {
it('should not register onDragOver event listener during SSR', () => {
jest.spyOn(React, 'useEffect').mockImplementation(() => {});
const addEventListenerSpy = jest.spyOn(window, 'addEventListener');
Expand All @@ -99,7 +99,7 @@ describe('mock useeffect approach', () => {
});
});

describe('is-dragging class on drag vent', () => {
describe('is-dragging class onDragOver event', () => {
it('should have is-dragging class on dragOver', () => {
render(<FileUploaderInput name="bagr" id="pokus" data-testid="test" />);
const dropZone = screen.getAllByTestId('test')[0];
Expand Down

0 comments on commit f6fe608

Please sign in to comment.