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.
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.