chore: replace pointer with click

Signed-off-by: Johan Haals <johan.haals@gmail.com>
This commit is contained in:
Johan Haals
2022-04-04 09:36:58 +02:00
parent 6303fe61e3
commit d90a2db871
@@ -194,10 +194,7 @@ describe('<CatalogGraphPage/>', () => {
expect(await findAllByTestId('node')).toHaveLength(2);
await userEvent.pointer({
keys: '[MouseLeft]',
target: getByText('b:d/e'),
});
await userEvent.click(getByText('b:d/e'));
expect(analyticsSpy.getEvents()[0]).toMatchObject({
action: 'click',