Closed tyroguru closed 8 months ago
@tyroguru has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.
All modified and coverable lines are covered by tests :white_check_mark:
Comparison is base (
f076b34
) 62.54% compared to head (8b01715
) 62.69%. Report is 1 commits behind head on main.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Summary
Our current mechanism for ignoring members is just that - members only. This change extends this allow stubbing of members by type.
With the above definition to stub out FooBar->Bar you could either stub by member:
or you can stub by type:
Note this changes the extant behaviour. Now types MUST be fully qualified for them to match. If they are not specified as fully qualified than stubbing won't work as expected and we'll attempt to capture that member/type .
Test plan
I've altered the
ignored
integration tests to modify the original test and add 2 more.