Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reports returned values on received function not throw when expect .toThrow() #15541

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

test: add test for higher coverage

5b8943a
Select commit
Loading
Failed to load commit list.
Open

Reports returned values on received function not throw when expect .toThrow() #15541

test: add test for higher coverage
5b8943a
Select commit
Loading
Failed to load commit list.
Codecov / codecov/patch failed Mar 14, 2025 in 1s

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 / 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 / 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 / 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 / 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 / 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 / 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 / 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 / codecov/patch

packages/jest-snapshot/src/index.ts#L530

Added line #L530 was not covered by tests