Skip to content

Incorrect userEvent import in the cheat sheet #759

Closed
@sapegin

Description

@sapegin

Problem description:

The userEvent is incorrectly imported in the cheat sheet PDF.

Suggested solution:

It should be a default import instead of a named one:

- import { userEvent } from '@testing-library/user-event';
+ import userEvent from '@testing-library/user-event';

Unfortunately, can’t send a pull request because I don’t have Affinity Publisher.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions