Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.agentfront.dev/llms.txt

Use this file to discover all available pages before exploring further.

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