diff options
author | 2023-03-15 16:49:55 -0700 | |
---|---|---|
committer | 2023-03-15 16:50:05 -0700 | |
commit | abd34abf0886866208fe607901f57efb83770150 (patch) | |
tree | 5653e7d5573190c1c0832ebd83ad6b44677f6c86 /docs/cli | |
parent | 1f811980c3b2c91bd13219278a51b3277ba5bc52 (diff) | |
download | bun-abd34abf0886866208fe607901f57efb83770150.tar.gz bun-abd34abf0886866208fe607901f57efb83770150.tar.zst bun-abd34abf0886866208fe607901f57efb83770150.zip |
:white_check_mark: some test matchers
Diffstat (limited to 'docs/cli')
-rw-r--r-- | docs/cli/test.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/cli/test.md b/docs/cli/test.md index 745e8aef1..2ac4cf208 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) |