denoland / denoland/std

tracking: complete `std/expect`

Open
#3,964 27 comments 1 reaction 0 assignees View on GitHub
enhancement expect good first issue PR welcome
Dominant language
TypeScript
Stars
3.6k
Forks
681
PR merge metrics
No merged PRs in 30d

Description

The following APIs are currently not yet implemented in `std/expect`:

- [ ] `toMatchSnapShot`
- [ ] `toMatchInlineSnapShot`
- [ ] `toThrowErrorMatchingSnapShot`
- [ ] `toThrowErrorMatchingInlineSnapShot`
- [x] `expect.anything` #4366
- [x] `expect.any` #4366
- [x] `expect.arrayContaining` #4366
- [x] `expect.not.arrayContaining` #6138
- [x] `expect.closeTo` #4508
- [x] `expect.objectContaining` #6065
- [x] `expect.not.objectContaining` #6138
- [x] `expect.stringContaining` #4508
- [x] `expect.not.stringContaining` #6138
- [x] `expect.stringMatching` #4508
- [x] `expect.not.stringMatching` #6138
- [x] `expect.assertions` #6032
- [x] `expect.hasAssertions` #5901
- [x] `expect.addEqualityTester` #4255
- [x] `expect.addSnapshotSerializer` #4537
- [x] `expect.extend` #4412

For those wanting to contribute, please submit one PR per API.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.