Skip to main content
Runs E2E tests using the auto-injected Jest configuration from @frontmcp/testing.

Usage

nx test my-app
nx test my-app --runInBand --coverage

Configuration

project.json
{
  "targets": {
    "test": {
      "executor": "@frontmcp/nx:test",
      "options": {
        "runInBand": true
      }
    }
  }
}

Options

OptionTypeDefaultDescription
runInBandbooleanfalseRun tests serially (recommended for E2E)
watchbooleanfalseWatch mode
coveragebooleanfalseCollect test coverage
verbosebooleanfalseVerbose output
timeoutnumberTest timeout in ms

Caching

This executor is cacheable. Test results are cached when inputs haven’t changed. Use with coverage for reproducible reports.
# Run tests for affected projects only
nx affected -t test