interbtc-api
interbtc-api copied to clipboard
Create additional unit test for getBlockRewardAPY
A recent change has been made to this function to return a rejected promise if globalStake is 0 (see https://github.com/interlay/interbtc-api/pull/414/)
We still want an additional unit test for the rejection case.