Skip to content

Commit

Permalink
fix(tests): fix typescript error
Browse files Browse the repository at this point in the history
  • Loading branch information
maxpatiiuk committed Jun 2, 2024
1 parent be19067 commit 59f0d20
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/src/tests/reactUtils.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,12 @@ import type { Queries, queries } from '@testing-library/dom';
import type { RenderOptions, RenderResult } from '@testing-library/react';
import { render } from '@testing-library/react';
import userEvent from '@testing-library/user-event';
import type { UserEvent } from '@testing-library/user-event/dist/types/setup/setup';
import React from 'react';

import type { IR } from '../utils/types';

type UserEvent = ReturnType<(typeof userEvent)['setup']>;

/**
* A wrapper for render() with userEvents setup function
*/
Expand Down

0 comments on commit 59f0d20

Please sign in to comment.