From abd34abf0886866208fe607901f57efb83770150 Mon Sep 17 00:00:00 2001 From: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com> Date: Wed, 15 Mar 2023 16:49:55 -0700 Subject: [PATCH] :white_check_mark: some test matchers --- docs/cli/test.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/cli/test.md b/docs/cli/test.md index 745e8aef1b..2ac4cf2087 100644 --- a/docs/cli/test.md +++ b/docs/cli/test.md @@ -200,11 +200,11 @@ Bun implements the following matchers. Full Jest compatibility is on the roadmap - [x] [`.toBeGreaterThanOrEqual()`](https://jestjs.io/docs/expect#tobegreaterthanorequalnumber--bigint) - [x] [`.toBeLessThan()`](https://jestjs.io/docs/expect#tobelessthannumber--bigint) - [x] [`.toBeLessThanOrEqual()`](https://jestjs.io/docs/expect#tobelessthanorequalnumber--bigint) -- [ ] [`.toBeInstanceOf()`](https://jestjs.io/docs/expect#tobeinstanceofclass) +- [x] [`.toBeInstanceOf()`](https://jestjs.io/docs/expect#tobeinstanceofclass) (Bun v0.5.8+) - [ ] [`.toContainEqual()`](https://jestjs.io/docs/expect#tocontainequalitem) - [ ] [`.toMatch()`](https://jestjs.io/docs/expect#tomatchregexp--string) - [ ] [`.toMatchObject()`](https://jestjs.io/docs/expect#tomatchobjectobject) -- [ ] [`.toMatchSnapshot()`](https://jestjs.io/docs/expect#tomatchsnapshotpropertymatchers-hint) +- [x] [`.toMatchSnapshot()`](https://jestjs.io/docs/expect#tomatchsnapshotpropertymatchers-hint) (Bun v0.5.8+) - [ ] [`.toMatchInlineSnapshot()`](https://jestjs.io/docs/expect#tomatchinlinesnapshotpropertymatchers-inlinesnapshot) - [ ] [`.toThrowErrorMatchingSnapshot()`](https://jestjs.io/docs/expect#tothrowerrormatchingsnapshothint) - [ ] [`.toThrowErrorMatchingInlineSnapshot()`](https://jestjs.io/docs/expect#tothrowerrormatchinginlinesnapshotinlinesnapshot)