Skip to content

Commit f03e431

Browse files
committed
format
1 parent 1afb2e6 commit f03e431

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

.agents/skills/write-tests/SKILL.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -117,9 +117,7 @@ This is the single most common place where loose assertions creep in:
117117

118118
```typescript
119119
// Bad: silently ignores any missing or extra properties in the call
120-
expect(startSpan).toHaveBeenCalledWith(
121-
expect.objectContaining({ name: 'middleware', op: 'middleware.hono' }),
122-
);
120+
expect(startSpan).toHaveBeenCalledWith(expect.objectContaining({ name: 'middleware', op: 'middleware.hono' }));
123121

124122
// Good: exact match on the full argument — if the shape changes, the test catches it
125123
expect(startSpan).toHaveBeenCalledWith({

0 commit comments

Comments
 (0)