Commit ee03d67
chore(skill): direct primitives to tests/display/ and reserve tests/utils/ for helpers (#1049)
Address feedback Copilot raised on the Spacer and Separator migration PRs:
component specs were landing in tests/utils/ next to the shared getStoryUrl
helper, which conflates test fixtures with test code.
Codify in the skill:
- tests/utils/ is reserved for shared helpers (getStoryUrl, etc.).
- Primitives (Spacer, Separator, Text, Title, Label, GenericLabel, Icon,
...) belong in tests/display/.
- New folders only for new component families, named for the family.
- Sibling specs import getStoryUrl as `from '../utils'`.
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 55c69af commit ee03d67
1 file changed
Lines changed: 8 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
51 | | - | |
52 | | - | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
53 | 59 | | |
54 | 60 | | |
55 | 61 | | |
| |||
0 commit comments