Closed yannbf closed 2 years ago
The rule should work with the following scenarios. It currently only works with scenario 1:
1.
import { within } from '@testing-library/react' // becomes import { within } from '@storybook/testing-library'
2.
import userEvent from '@storybook/user-event' // becomes import { userEvent } from '@storybook/testing-library'
3.
import { within } from '@testing-library/react' import { userEvent } from '@storybook/user-event' // becomes import { within, userEvent } from '@storybook/testing-library'
The rule should work with the following scenarios. It currently only works with scenario 1:
1.
2.
3.