How to mock modules using Jest à la RSpec. ... http_client.rb module HTTPClient def make_http_call # makes a http call, returns a number end ...
確定! 回上一頁