| name | grep-for-mock-module-across-the-entire-test-file-and-confirm-eve |
| description | grep for 'mock.module' across the entire test file and confirm every occurrence uses spread-real-exports before marking the file as converted |
| triggers | ["mock.module conversion","vitest to bun migration"] |
| generated_from_knowledge | [] |
| source_knowledge_ids | [] |
| generated_at | 2026-07-02T02:35:49.878Z |
| confidence | 0.6 |
| status | active |
| version | 2 |
| skill_origin | generated |
grep for 'mock.module' across the entire test file and confirm every occurrence uses spread-real-exports before marking the file as converted
Trigger
- mock.module conversion
- vitest to bun migration
Required Procedure
- grep for 'mock.module' across the entire test file and confirm every occurrence uses spread-real-exports before marking the file as converted
Forbidden Shortcuts
Delegation Template
When delegating a task affected by this skill, include:
SKILLS: file:.opencode/skills/generated/grep-for-mock-module-across-the-entire-test-file-and-confirm-eve/SKILL.md
Reviewer Checks
- grep --include='*.test.ts' 'mock.module' and verify each call spreads real exports
Test Engineer Checks
- Add or update tests covering the trigger condition and the forbidden shortcut.