grep-for-mock-module-across-the-entire-test-file-and-confirm-eve · v1 · 2026-07-02 · sha256 bb7089c2af36a5fd
grep-for-mock-module-across-the-entire-test-file-and-confirm-eve v1A
Immutable. This exact content is served forever at /api/v1/blob/bb7089c2af36a5fd.
--- 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" generated_from_knowledge: - 29cd29e2-c46f-46c8-aceb-41429ff06dc0 source_knowledge_ids: - 29cd29e2-c46f-46c8-aceb-41429ff06dc0 generated_at: 2026-07-02T02:35:49.878Z confidence: 0.60 status: active version: 1 skill_origin: generated --- <!-- generated by opencode-swarm skill-generator. Do not edit by hand; edits will be preserved on regeneration only with controlled update mode. --> # grep for 'mock.module' across the entire test file and confirm every occurrence uses spread-real-exports before marking the file as converted ## Trigger - (no explicit trigger metadata; cluster derived from category/tags) ## 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 - (none recorded) ## 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. ## Source Knowledge IDs - 29cd29e2-c46f-46c8-aceb-41429ff06dc0 — When converting mock.module calls, grep for ALL mock.module invocations in the file before declaring the file fixed — a single missed mock.module call will keep tests failing.