bun-test

Write and debug Bun-based tests with deterministic mocks and isolation.

11|Updated Jan 1, 2026
One-click install
npx skills add https://github.com/ainergiz/xfeed --skill bun-test-ainergiz
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: bun-test
Source: https://github.com/ainergiz/xfeed/tree/main/.claude/skills/bun-test
Command: npx skills add https://github.com/ainergiz/xfeed --skill bun-test-ainergiz

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps you write and debug Bun-based tests with deterministic mocks, proper isolation, and clear test patterns to improve reliability and maintenance.

Core Features & Use Cases

  • Mocking patterns: Mock fetch, spy on modules, and isolate tests to prevent side effects.
  • Test infrastructure: Guidance for multi-file patterns, preloading mocks, and coverage checks.
  • Use Case: When building a Bun-based project, quickly scaffold robust tests and guard against flaky behavior.

Quick Start

Install dependencies with Bun, run tests with bun test, and apply the provided mocking patterns to ensure reproducibility.