summaryrefslogtreecommitdiff
path: root/ar/.config/claude/commands/setup-testing.md
diff options
context:
space:
mode:
authorTheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com>2026-02-24 12:05:54 +0900
committerTheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com>2026-02-24 12:05:54 +0900
commit64c88ef21ac3369e4e4fad179dfd641722a1f349 (patch)
tree145c442d7bea65b7602271d5fa3265ff0a279afb /ar/.config/claude/commands/setup-testing.md
parentf3b515d8d9e8ed57d2c5302b53009ea9241e22f2 (diff)
updates
Diffstat (limited to 'ar/.config/claude/commands/setup-testing.md')
-rw-r--r--ar/.config/claude/commands/setup-testing.md34
1 files changed, 0 insertions, 34 deletions
diff --git a/ar/.config/claude/commands/setup-testing.md b/ar/.config/claude/commands/setup-testing.md
deleted file mode 100644
index 3c27df3..0000000
--- a/ar/.config/claude/commands/setup-testing.md
+++ /dev/null
@@ -1,34 +0,0 @@
----
-allowed-tools: Write, MultiEdit, Bash, Read
-argument-hint: "[jest|vitest|playwright|cypress]"
-description: Set up testing framework for Next.js 15
-model: claude-3-5-sonnet-20241022
----
-
-Set up testing for Next.js 15 with framework: $ARGUMENTS (default: jest)
-
-Steps to complete:
-
-1. Install necessary dependencies
-2. Create configuration files (jest.config.js, vitest.config.ts, playwright.config.ts, or cypress.config.js)
-3. Set up test utilities and helpers
-4. Create example test files for:
- - Client Components
- - Server Components (with limitations noted)
- - Server Actions
- - API routes
- - E2E user flows (if Playwright/Cypress)
-5. Add test scripts to package.json
-6. Configure GitHub Actions workflow for CI
-7. Set up code coverage reporting
-
-Ensure the testing setup:
-
-- Works with Next.js 15's App Router
-- Handles async components appropriately
-- Includes proper mocking for Next.js modules
-- Supports TypeScript
-- Includes accessibility testing setup
-- Has good defaults for performance
-
-Create a comprehensive testing guide in the project documentation.