l2beat / earl

☕ Ergonomic, modern and type-safe assertion library for TypeScript
https://earl.fun/
MIT License
256 stars 19 forks source link

Fix mocks, update doc comments #260

Closed sz-piotr closed 1 year ago

sz-piotr commented 1 year ago

Resolves L2B-1123, L2B-1220, L2B-1219, L2B-1218 Closes #201

changeset-bot[bot] commented 1 year ago

🦋 Changeset detected

Latest commit: 774e30367a87120c6091593a5eb456c98a1dac81

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 2 packages | Name | Type | | ------- | ----- | | earljs | Minor | | website | Patch |

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

vercel[bot] commented 1 year ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
earl-docs ✅ Ready (Inspect) Visit Preview Mar 22, 2023 at 0:38AM (UTC)
linear[bot] commented 1 year ago
L2B-1123 Improve mocks error message when it is not configured for some parameters

[https://github.com/l2beat/earl/issues/201](https://github.com/l2beat/earl/issues/201)

L2B-1220 Rename mock to mockObject and add doc comment to it

L2B-1219 Test return value ordering for `mockFn`

L2B-1218 Add doc comments for `mockFn`