-
Notifications
You must be signed in to change notification settings - Fork 623
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(testing): prepare for
noUncheckedIndexedAccess
(#4084)
* refactor(testing): prepare for noUncheckedIndexedAccess * tweaks * fix(testing): returnsArg throws when no arg at index * refactor(testing): sessions to use .at(-1) to get last item Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com> * non-null after check * swap non-null assertions for as const * proper error message * more as const in the mock_test file * fix tests for new behaviour * tweak * revert returnsArg handling back to `| undefined` --------- Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
- Loading branch information
Showing
4 changed files
with
122 additions
and
90 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.