bun-expect-extend-repro

To install dependencies:

bun install

To run:

bun test

You should see the following output:

bun-expect-extend-repro git:(main) bun test                                                                  
bun test v1.1.5-canary.1 (b257a309)

test.spec.ts:
{
  actual: {
    a: "test",
  },
  expected: {
    a: Anything,
  },
  pass: false,
}
25 | }
26 | 
27 | 
28 | 
29 | test("should pass", () => {
30 |     expect({ a: "test" }).toCustomEqual({ a: expect.anything() })
         ^
error: expect(received).toCustomEqual(<green>expected<r>)

No message was specified for this matcher.
      at /repos/bun-expect-extend-repro/test.spec.ts:30:5
✗ should pass [0.40ms]

 0 pass
 1 fail
 1 expect() calls
Ran 1 tests across 1 files. [8.00ms]