Skip to content

Testing

Thomas Mahut edited this page Jan 19, 2025 · 1 revision

Test Location

As recommended by the documentation, we'll place all our React Native (Expo) unit tests in the client/__tests__ directory. If we find that this approach doesn't scale well, we may switch to an alternative structure that makes use of multiple __tests__ directories.

Running Tests

Follow the steps below to run all unit tests.

  1. Navigate to the client directory with cd client
  2. Execute the tests with npm run test - you will enter watch mode by default
  3. Press q to quit watch mode.

Clone this wiki locally