WhatBrokeToday
FAQ
Bun

Bun outage (Nov 23): Bun toEqual() compares Error name while Jest compares message

minor

Is it fixed? Not yet.

Ongoing since Nov 23, 11:16 UTC. First reported Nov 23, 11:16 UTC.

What happened

In Bun version 1.4.6-canary.1+dac8e3b0f, the test runner's toEqual() function compares the 'name' property of Error subclasses, whereas Jest compares only the 'message' property, causing test discrepancies for developers migrating test suites.

What caused it?

Under active investigation. No report has identified a root cause yet.

No verified workaround yet

None of the linked reports describe a mitigation. This page updates when one appears.

Outage timeline

  1. Investigating(current)
  2. Workaround available(upcoming)
  3. Resolved(upcoming)
  1. First report on GitHub issue

    bun test: toEqual() on two Errors compares `name`, Jest compares only `message`

    Source

Reports of this outage

1 report · 1 GitHubShow
  1. [1]
    GitHub First report
    bun test: toEqual() on two Errors compares `name`, Jest compares only `message`(opens GitHub issue in a new tab)

    What version of Bun is running? 1.4.6-canary.1+dac8e3b0f What platform is your computer? macOS arm64 (Darwin 25.5.0) What steps can reproduce the bug? errors.test.js const { expect, test } = require("bun:test"); class NotFoundError extends Error {} test("toEqual: Error subclass vs Error, same message", () => { expect(new NotFoundError("gone")).toEqual(new Error("gone")); }); test("toEqual: TypeError vs Error, same message", () => { expect(new TypeError("gone")).toEqual(new Error("gone")); });…

    by magarcia 0upvotes 1comments

Bun outage FAQ

What happened in the Bun outage, and why?

Ongoing since Nov 23, 11:16 UTC. No cause has been published yet; this page adds it once the vendor or a report explains it.

What is affected by the Bun outage?

Bun (versions: 1.4.6-canary.1+dac8e3b0f).

When did the Bun outage start and end?

It started Nov 23, 11:16 UTC and is still ongoing (2 h 33 min so far). This page updates as it develops.

How do I get alerts for Bun?

Subscribe to the Bun RSS feed for every new Bun incident, or connect an AI assistant to WhatBrokeToday over MCP and ask whether Bun is down. Bun feed

Where does this information come from?

WhatBrokeToday collects public status pages, developer community reports and security advisories, groups the ones about the same problem, and links every report under Evidence on this page. This one has 1 report from 1 independent source.