Skip to content

Add API unit-tests for getSignatures and getSignatureData (PR 21247 follow-up)#21541

Merged
timvandermeij merged 1 commit into
mozilla:masterfrom
Snuffleupagus:signature-api-unittests
Jul 5, 2026
Merged

Add API unit-tests for getSignatures and getSignatureData (PR 21247 follow-up)#21541
timvandermeij merged 1 commit into
mozilla:masterfrom
Snuffleupagus:signature-api-unittests

Conversation

@Snuffleupagus

Copy link
Copy Markdown
Collaborator

Note that PR #21247 did include "local" unit-tests, however they don't cover all of the relevant API/Worker code-paths (which is noticeable in the coverage data).
The new unit-test added here uses a PDF document already present in the test-suite, and generally speaking testing a real-world PDF shouldn't hurt.

…47 follow-up)

Note that PR 21247 did include "local" unit-tests, however they don't cover all of the relevant API/Worker code-paths (which is noticeable in the coverage data).
The new unit-test added here uses a PDF document already present in the test-suite, and generally speaking testing a real-world PDF shouldn't hurt.
@codecov-commenter

codecov-commenter commented Jul 4, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 89.42%. Comparing base (36835d9) to head (ac101f0).
⚠️ Report is 4 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master   #21541      +/-   ##
==========================================
+ Coverage   89.40%   89.42%   +0.01%     
==========================================
  Files         262      262              
  Lines       66739    66739              
==========================================
+ Hits        59668    59680      +12     
+ Misses       7071     7059      -12     
Flag Coverage Δ
unittest 57.33% <ø> (+0.02%) ⬆️
unittestcli 56.30% <ø> (+0.01%) ⬆️

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.

@timvandermeij timvandermeij merged commit 330cc4f into mozilla:master Jul 5, 2026
12 checks passed
@timvandermeij

Copy link
Copy Markdown
Collaborator

Good idea; thanks!

@Snuffleupagus Snuffleupagus deleted the signature-api-unittests branch July 5, 2026 09:57
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