-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: 🎸 The errorMsg option can be a function
Closes: #126 * support accepting a function in the errorMsg option This allows the error message to be evaluated at the time of failure, and potentially include details that may differ from when `waitUntil` was first called. * implement requested changes from PR feedback * chore: 🤖 Fix the types and split the Generic-related tests * chore: 🤖 Add custom errorMsg callback types * docs: ✏️ Update the Readme * test: 💍 Test the errorMsg function received parameters Co-authored-by: Stefano Magni <nori.ste.magni@gmail.com>
- Loading branch information
Showing
5 changed files
with
397 additions
and
315 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.