Skip to content

How to mock data for tests? #4

@timmyjs

Description

@timmyjs

Hey there 👋

How can I mock data in tests I fetch in my application with react-query-firestore?

My setup is using jest and react-testing-library. Can you please give any hints or examples for that?

🔥 Thanks in advance and many thanks for providing this library! It works very well so far and really simplifies querying Firestore a lot!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions