bun-test

Configure Bun's native test runner with Jest-compatible APIs.

Updated Feb 18, 2026
One-click install
npx skills add https://github.com/ShaulLavo/ellie --skill bun-test-shaullavo
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: bun-test
Source: https://github.com/ShaulLavo/ellie/tree/main/.agents/skills/bun-test
Command: npx skills add https://github.com/ShaulLavo/ellie --skill bun-test-shaullavo

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill streamlines the process of setting up and configuring Bun's built-in test runner, enabling faster and more efficient unit, integration, and snapshot testing.

Core Features & Use Cases

  • Fast Testing: Leverage Bun's 3-10x speed advantage over Jest.
  • Jest Compatibility: Use familiar Jest-compatible APIs for a smooth transition.
  • Configuration: Easily set up test directories, coverage, timeouts, and global setup/teardown.
  • Use Case: Quickly set up a robust testing suite for a new Node.js project, ensuring code quality with minimal configuration overhead.

Quick Start

Configure Bun's test runner by creating a bunfig.toml file in your project root.

Frequently Asked Questions about bun-test

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I migrate from Jest to Bun's test runner?

You can migrate from Jest to Bun's test runner using familiar Jest-compatible APIs, enabling a smooth transition while leveraging Bun's faster test execution speed.

What is the best way to speed up unit test execution?

The best way to speed up unit test execution is to configure Bun's native test runner, which offers a 3-10x speed advantage over traditional Jest test suites.

Can I use Jest-compatible APIs for snapshot testing in Bun?

Yes, you can use Jest-compatible APIs for snapshot testing in Bun, facilitating familiar unit, integration, and snapshot testing scenarios with minimal configuration overhead.

Does Bun's test runner support coverage reporting and global setup?

Yes, Bun's test runner supports coverage reporting, global setup, teardown, mocking, and timeout configuration, managed easily through a `bunfig.toml` file in your project root.

How do I configure test directories and timeouts for Bun tests?

You configure test directories and timeouts for Bun tests by creating a `bunfig.toml` file in your project root, allowing quick setup of robust testing suites for Node.js projects.