Closed fzavalia closed 2 years ago
Files with Coverage Reduction | New Missed Lines | % | ||
---|---|---|---|---|
src/ethereum/api/peer.ts | 4 | 45.83% | ||
src/Collection/Collection.service.ts | 5 | 92.59% | ||
<!-- | Total: | 9 | --> |
Totals | |
---|---|
Change from base Build 2699856506: | -0.08% |
Covered Lines: | 2577 |
Relevant Lines: | 3609 |
@LautaroPetaccio Reverted the suggestion because that function is being called multiple times and using "Once" will just mock it 1 time.
It is cleared on the root before each so it will not cause any problems.
Changed it to mockRejectedValue instead of the previous mockImplementation still.
Closes #522