Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/anchan828/bun-expect-extend-repro
https://github.com/anchan828/bun-expect-extend-repro
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/anchan828/bun-expect-extend-repro
- Owner: anchan828
- Created: 2024-04-26T08:23:02.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2024-04-26T08:29:08.000Z (8 months ago)
- Last Synced: 2024-04-26T09:37:44.456Z (8 months ago)
- Language: TypeScript
- Size: 4.88 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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]
```