hirezio / auto-spies

Create automatic spies from classes
MIT License
181 stars 30 forks source link

add support for "bufferedNextWith" and "bufferedNextOneTimeWith" #20

Closed shairez closed 3 years ago

shairez commented 4 years ago

Sometimes I want to buffer emitted values in the setup of the test and to play them in a specific time.

This could be done with the window operator combined with mergeAll.

EDIT: Brett Bernstein suggested the name nextWithValues which is better IMO