Skip to content

Develop Jest mocks for testing #54

Description

@elysseaa

Currently, the app's tests fail since they try to import React Native modules, which is not possible on a non-mobile device. Jest mocks (which "mock" the React Native modules) should be added so that tests can be performed correctly.

One method of implementing this is creating a Jest config file that runs a setup file containing mocks for all necessary packages before tests are run. This way, Jest mocks will have already been set up for all tests that will be run.

Metadata

Metadata

Assignees

No one assigned

    Labels

    technical debtItems needed to reconcile a structural error or refactor the codebase

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions