Skip to content

Commit c6b6b88

Browse files
committed
refactor: standardize reset method name to resetDefaults in context mock
1 parent 2a969be commit c6b6b88

File tree

4 files changed

+32
-28
lines changed

4 files changed

+32
-28
lines changed

.github/agents/test-specialist.agent.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ Before writing or modifying tests, read `docs/testing.md` for the full mock arch
2121
1. `__mocks__/@actions/core.ts` — Global replacement. Logging silenced. `getInput`/`getBooleanInput` use real
2222
implementations (read `INPUT_*` env vars)
2323
2. `__mocks__/config.ts` — Proxy mock: `.set({...})` to override, `.resetDefaults()` to restore
24-
3. `__mocks__/context.ts` — Proxy mock: `.set({...})`, `.reset()`, `.useRealOctokit()`, `.useMockOctokit()`
24+
3. `__mocks__/context.ts` — Proxy mock: `.set({...})`, `.resetDefaults()`, `.useRealOctokit()`, `.useMockOctokit()`
2525

2626
## Test Helpers
2727

0 commit comments

Comments
 (0)