Skip to content

Commit ae06ad8

Browse files
committed
refactor(skills): update test file naming from .spec.ts to .test.ts
Update Claude Code skill documentation to reflect the new .test.ts naming convention for test files: - Update typescript-testing skill globs from *.spec.ts to *.test.ts - Update example commands to use .test.ts file paths - Remove outdated pnpm test:unit command reference - Update development-workflow skill with new naming convention
1 parent d5d6db9 commit ae06ad8

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

.claude/skills/development-workflow/SKILL.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,7 @@ This skill provides all commands and best practices for building, developing, an
1919
## Testing
2020

2121
- `pnpm test` - Run all tests (unit, examples, scripts)
22-
- `pnpm test:unit` - Run only unit tests
23-
- `pnpm vitest src/path/to/file.spec.ts` - Run a specific test file
22+
- `pnpm vitest src/path/to/file.test.ts` - Run a specific test file
2423
- `pnpm vitest -t "test name"` - Run tests matching a pattern
2524

2625
## Code Quality

.claude/skills/typescript-testing/SKILL.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
name: typescript-testing
33
description: Use when writing or running tests. Covers Vitest commands, MSW HTTP mocking, fs-fixture for file system tests. (project)
4-
globs: "*.spec.ts"
4+
globs: "*.test.ts"
55
alwaysApply: false
66
---
77

@@ -13,8 +13,7 @@ This skill guides testing practices for the StackOne SDK using Vitest test runne
1313

1414
The project uses **Vitest** as the test runner. Run tests with:
1515
- `pnpm test` - Run all tests (unit, examples, scripts)
16-
- `pnpm test:unit` - Run only unit tests
17-
- `pnpm vitest src/path/to/file.spec.ts` - Run a specific test file
16+
- `pnpm vitest src/path/to/file.test.ts` - Run a specific test file
1817
- `pnpm vitest -t "test name"` - Run tests matching a pattern
1918

2019
### Vitest Globals

0 commit comments

Comments
 (0)