Reports returned values on received function not throw when expect .toThrow()
#15541
48.48% of diff hit (target 68.56%)
View this Pull Request on Codecov
48.48% of diff hit (target 68.56%)
Annotations
Check warning on line 217 in packages/expect/src/toThrowMatchers.ts
codecov / codecov/patch
packages/expect/src/toThrowMatchers.ts#L217
Added line #L217 was not covered by tests
Check warning on line 260 in packages/expect/src/toThrowMatchers.ts
codecov / codecov/patch
packages/expect/src/toThrowMatchers.ts#L260
Added line #L260 was not covered by tests
Check warning on line 263 in packages/expect/src/toThrowMatchers.ts
codecov / codecov/patch
packages/expect/src/toThrowMatchers.ts#L262-L263
Added lines #L262 - L263 were not covered by tests
Check warning on line 323 in packages/expect/src/toThrowMatchers.ts
codecov / codecov/patch
packages/expect/src/toThrowMatchers.ts#L322-L323
Added lines #L322 - L323 were not covered by tests
Check warning on line 384 in packages/expect/src/toThrowMatchers.ts
codecov / codecov/patch
packages/expect/src/toThrowMatchers.ts#L384
Added line #L384 was not covered by tests
Check warning on line 437 in packages/expect/src/toThrowMatchers.ts
codecov / codecov/patch
packages/expect/src/toThrowMatchers.ts#L437
Added line #L437 was not covered by tests
Check warning on line 472 in packages/expect/src/toThrowMatchers.ts
codecov / codecov/patch
packages/expect/src/toThrowMatchers.ts#L472
Added line #L472 was not covered by tests
Check warning on line 530 in packages/jest-snapshot/src/index.ts
codecov / codecov/patch
packages/jest-snapshot/src/index.ts#L530
Added line #L530 was not covered by tests