Skip to content

Commit 8666d00

Browse files
committed
fix: correct typo in README regarding chaining of asynchronous matchers
1 parent c07b06b commit 8666d00

File tree

1 file changed

+1
-1
lines changed
  • exercises/03.assertions/03.solution.custom-equality-testers

1 file changed

+1
-1
lines changed

exercises/03.assertions/03.solution.custom-equality-testers/README.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ Let's iterate over the difference between _equality testers_ and _matchers_ to h
9090
| ------------------------------------------------------------------------------------ | ----------------------------------------------------------------------------------------------------------------- |
9191
| Extends the `.toEqual()` logic. | Implement entirely custom logic. |
9292
| Automatically applied recursively (e.g. if your measurement is nested in an object). | Always applied explicitly. Nested usage is enabled through asymmetric matchers (`{ value: expect.myMatcher() }`). |
93-
| Must always be _synchronous_. | Can be both synchronous and asynchronous, utilizing the `.resolves.` and `.rejects.` chaning. |
93+
| Must always be _synchronous_. | Can be both synchronous and asynchronous, utilizing the `.resolves.` and `.rejects.` chaining. |
9494

9595
Custom equality testers, as the name implies, are your go-to choice to help Vitest compare values that cannot otherwise be compared by sheer serialization (like our `Measurement`, or, for example, `Response` instances).
9696

0 commit comments

Comments
 (0)