> ## Documentation Index
> Fetch the complete documentation index at: https://help.pixwel.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Testing

# Pixwel UI - testing

Please read the [UI overview](/ui/overview) before reading this.

`ui/3x` has two test suites: **Jest** unit tests in `tests/` and **Cypress** end-to-end tests in `cypress/`. (The legacy `ui/2x` app uses Karma/Jasmine.)

## Running tests

From `ui/3x`:

```bash theme={null}
pnpm test          # Jest unit tests, with coverage
pnpm jest          # Jest in watch mode
pnpm cypress       # open Cypress (E2E)
pnpm cypress:fast  # run Cypress headless
```

## Code coverage

`pnpm test` runs Jest with `--coverage` and writes the report to `coverage/`.

For any code you work on, aim for 100% coverage wherever possible.

***

[Back to docs index](/) | [UI docs index](/ui/overview) | [Next page in recommended reading order >>](/ui/webpack)
