antonmi / antonmi/espec

Allow asserting that a mock will be called within a timeout

Đang mở
#282 1 bình luận 0 reaction 0 người được giao Xem trên GitHub
enhancement help wanted
Ngôn ngữ chính
Elixir
Star
813
Fork
66
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.