Mocha
sorbetでmochaを使う方法
· ☕ 1 min read
現象 sorbetでmochaのオブジェクトを引数として渡そうとすると以下のようなエラーが出る 1 TypeError: Parameter 'http_client': Expected type HttpClient, got type Mocha::Mock with value #<Mock:0xaa78> これはsorbet-r