Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/anchan828/bun-expect-extend-repro


https://github.com/anchan828/bun-expect-extend-repro

Last synced: about 2 months ago
JSON representation

Awesome Lists containing this project

README

        

# bun-expect-extend-repro

To install dependencies:

```bash
bun install
```

To run:

```bash
bun test
```

You should see the following output:

```bash
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(expected)

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]
```