with one click
dependabit-test-utils
Documentation site for dependabit
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Menu
Documentation site for dependabit
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Based on SOC occupation classification
Documentation site for dependabit
Documentation site for dependabit Use when: You need to plug in a custom or self-hosted language model as the....
Documentation site for dependabit Use when: Making authenticated GitHub API calls from the monitor or action packages....
Documentation site for dependabit Use when: Loading an existing manifest to pass to the monitor or detector..
Documentation site for dependabit Use when: Polling a set of tracked dependencies for state changes on a schedule..
Documentation site for dependabit Use when: Tracking research papers that your project cites or implements, to be....
| name | dependabit-test-utils |
| description | Documentation site for dependabit |
Documentation site for dependabit
Test Utilities: createMockFn (Creates a Vitest mock function), spyOn (Creates a Vitest spy on an object method), createMockTimer (Activates Vitest fake timers and returns a helper object), mockFetch (Replaces the global fetch with a Vitest mock that returns response
as JSON when url is requested), createMockUser (Creates generic mock user data for testing), createMockEmail (Creates generic mock email data for testing), createMockApiResponse (Creates a generic mock API response envelope for testing), createMockErrorResponse (Creates a generic mock error response envelope for testing), createMockArray (Creates an array of mock items using a factory function)
Load these on demand — do NOT read all at once:
references/functions.md for full signatures, parameters, and return types