On code that should not run in a spec

Summary

When a test wants to assert that a certain code path is unreachable, codecov should not count that part of the code towards its uncovered delta.

Description

Examples

Provide any examples to demonstrate the steps. Feel free to include GIFs or screenshots

Versions

Ruby 2.7 / Rails 6.0.3