Skip to content

Use the toBeNull() matcher consistently in the unit/integration tests#21632

Merged
Snuffleupagus merged 1 commit into
mozilla:masterfrom
Snuffleupagus:test-toBeNull
Jul 25, 2026
Merged

Use the toBeNull() matcher consistently in the unit/integration tests#21632
Snuffleupagus merged 1 commit into
mozilla:masterfrom
Snuffleupagus:test-toBeNull

Conversation

@Snuffleupagus

Copy link
Copy Markdown
Collaborator

This replaces all toEqual(null) and toBe(null) occurrences.

This replaces all `toEqual(null)` and `toBe(null)` occurrences.
@codecov-commenter

codecov-commenter commented Jul 25, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 89.84%. Comparing base (05e100c) to head (60340d9).

Additional details and impacted files
@@           Coverage Diff           @@
##           master   #21632   +/-   ##
=======================================
  Coverage   89.84%   89.84%           
=======================================
  Files         263      263           
  Lines       66811    66811           
=======================================
  Hits        60029    60029           
  Misses       6782     6782           
Flag Coverage Δ
integrationtest 69.26% <ø> (ø)
unittest 57.51% <ø> (+<0.01%) ⬆️
unittestcli 56.50% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@calixteman calixteman left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thank you.

@Snuffleupagus
Snuffleupagus merged commit 503632a into mozilla:master Jul 25, 2026
15 of 16 checks passed
@Snuffleupagus
Snuffleupagus deleted the test-toBeNull branch July 25, 2026 20:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants