Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions guides/COMMAND_IMPLEMENTATION.md
Original file line number Diff line number Diff line change
Expand Up @@ -240,6 +240,14 @@ tests/fixtures/commands/my-command/
└── error-handling/
```

### Fixture Test JSDoc Consistency

When creating fixture test pairs (`.input.ts` and `.expected.ts`):

- **Copy JSDoc exactly** from `.input.ts` to `.expected.ts`
- **Keep coordinates unchanged** - `@command` line numbers must reference the `.input.ts` file location
- **Maintain identical content** - all JSDoc metadata must match exactly

### Unit Tests for Service Logic
```typescript
describe('MyDomainService', () => {
Expand Down