nxtest

star 0

Run frontend tests with filtered output (PASS/FAIL + errors only). Wraps client-test-filtered.ps1.

jacobrocks1212 By jacobrocks1212 schedule Updated 5/9/2026

name: nxtest description: Run frontend tests with filtered output (PASS/FAIL + errors only). Wraps client-test-filtered.ps1. argument-hint: [-Project "project"] [-Pattern "path"] [-Filter "test name"] [-NoCoverage] model: haiku allowed-tools: ["Bash"]

NxTest — Filtered Frontend Test Runner

Run frontend tests in the Nx monorepo showing only PASS/FAIL results, error details, and summary.

Usage

  • /nxtest — test cognito-spa (default)
  • /nxtest -Project "cognito-spa" -Pattern "Button" — filter by file path
  • /nxtest -Project "@cognitoforms/model.js" -Filter "should render" — filter by test name
  • /nxtest -NoCoverage — skip coverage for faster runs

Common Projects

cognito-spa, cognito-client, @cognitoforms/model.js, @cognitoforms/vuemodel

Instructions

  1. Construct the command:

    REPO_ROOT=$(git rev-parse --show-toplevel) && powershell.exe -ExecutionPolicy Bypass -File "$REPO_ROOT/.claude/scripts/client-test-filtered.ps1"
    
  2. If $ARGUMENTS is provided, append it verbatim to the command. The script accepts:

    • -Project "..." — Nx project name (default: cognito-spa)
    • -Pattern "..." — testPathPattern (filter by file path)
    • -Filter "..." — testNamePattern (filter by test name)
    • -NoCoverage — skip coverage collection
  3. Run the command using Bash. Do not interpret or reformat the output.

Install via CLI
npx skills add https://github.com/jacobrocks1212/claude-config --skill nxtest
Repository Details
star Stars 0
call_split Forks 0
navigation Branch main
article Path SKILL.md
More from Creator
jacobrocks1212
jacobrocks1212 Explore all skills →