Closed rossiam closed 1 month ago
Latest commit: dac14df457558cb0d7551bc0b63a512f12549d59
Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.
Click here to learn what changesets are, and how to add one.
Click here if you're a maintainer who wants to add a changeset to this PR
The main purpose of this change is to make writing pre-built mocks for the functions in the
basic-io
module (which are used a lot) easier.Also includes lots of little refactors (I'm sure I missed some of these but this is a good start and I didn't touch files I wasn't touching already anyway):
type
to lots of imports.toHaveBeenCalledTimes(0)
to.not.toHaveBeenCalled()
.toHaveBeenCalledTimes(1)
paired with.toHaveBeenCalledWith
totoHaveBeenCalledExactlyOnceWith