Open mwojtal19 opened 2 months ago
In fulfillRandomWords function there is a code:
(bool success, ) = recentWinner.call{value: address(this).balance}(""); if (!success) { revert Raffle__TransferFailed(); }
Is there a way to mock the .call function to return false and test this if statement?
In fulfillRandomWords function there is a code:
Is there a way to mock the .call function to return false and test this if statement?