antonmi / antonmi/espec

Allow asserting that a mock will be called within a timeout

Abierto
#282 1 comentario 0 reacciones 0 asignados Ver en GitHub
enhancement help wanted
Lenguaje dominante
Elixir
Estrellas
813
Forks
66
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

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)`?

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.