antonmi/espec
Allow asserting that a mock will be called within a timeout
Aperta
#282 aperta il 26 ott 2018
enhancementhelp wanted
Metriche repository
- Star
- (814 stelle)
- Metriche merge PR
- (Nessuna PR mergiata in 30 g)
Descrizione
It'd be nice to have the option to assert that a mocked function will be called in a defined timeout.
:meck.wait supports it pretty directly, should be a good fit to expect(mod) |> to(receive ...).
Maybe something like expect(mod) |> to(receive ..., within: 500)?