Closed OriMarron closed 5 years ago
The once util is very helpful, and sequence is an expansion of the concept. Instead of creating twice and thrice etc., use sequence to pass an array of any number of responses.
once
sequence
twice
thrice
README.md
I'll spend some time getting CI working again shortly.
I've published your changes xhr-mock@2.5.0. Thanks!
xhr-mock@2.5.0
Great, thanks! :)
The
once
util is very helpful, andsequence
is an expansion of the concept. Instead of creatingtwice
andthrice
etc., usesequence
to pass an array of any number of responses.sequence
utilREADME.md