Skip to content

test(gallery,template): update preview HTML rendering tests

0e75a91
Select commit
Loading
Failed to load commit list.
Merged

feat(gallery): Gallery templates, ThemeDesign, and Mustache rendering #15

test(gallery,template): update preview HTML rendering tests
0e75a91
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Apr 9, 2026 in 1s

80.58% (+0.03%) compared to f529baa

View this Pull Request on Codecov

80.58% (+0.03%) compared to f529baa

Details

Codecov Report

❌ Patch coverage is 86.16262% with 97 lines in your changes missing coverage. Please review.
✅ Project coverage is 80.58%. Comparing base (f529baa) to head (0e75a91).

Files with missing lines Patch % Lines
.../ASCCommand/Commands/AppShots/AppShotsThemes.swift 58.82% 21 Missing ⚠️
Sources/Domain/Screenshots/Gallery/Gallery.swift 85.55% 13 Missing ⚠️
...shotPlans/AggregateGalleryTemplateRepository.swift 0.00% 13 Missing ⚠️
...s/Domain/Screenshots/Gallery/GalleryTemplate.swift 74.28% 9 Missing ⚠️
...main/Screenshots/Gallery/GalleryHTMLRenderer.swift 94.02% 8 Missing ⚠️
Sources/Domain/Screenshots/Gallery/AppShot.swift 86.79% 7 Missing ⚠️
Sources/Domain/Screenshots/ScreenTheme.swift 80.00% 7 Missing ⚠️
...d/Commands/AppShots/AppShotsGalleryTemplates.swift 78.57% 6 Missing ⚠️
...ure/ScreenshotPlans/AggregateThemeRepository.swift 0.00% 6 Missing ⚠️
...rces/Domain/Screenshots/Gallery/HTMLComposer.swift 84.61% 4 Missing ⚠️
... and 2 more
Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main      #15      +/-   ##
==========================================
+ Coverage   80.54%   80.58%   +0.03%     
==========================================
  Files         331      339       +8     
  Lines        9387     9744     +357     
==========================================
+ Hits         7561     7852     +291     
- Misses       1826     1892      +66     
Files with missing lines Coverage Δ
...CCommand/Commands/AppShots/AppShotsTemplates.swift 65.93% <100.00%> (+2.40%) ⬆️
Sources/Domain/Screenshots/AppShotTemplate.swift 100.00% <100.00%> (ø)
Sources/Domain/Screenshots/AppShotsConfig.swift 100.00% <ø> (ø)
...es/Domain/Screenshots/Gallery/GalleryPalette.swift 100.00% <100.00%> (ø)
...omain/Screenshots/ScreenshotPlans+RESTRoutes.swift 100.00% <ø> (ø)
Sources/Domain/Screenshots/ThemeDesign.swift 100.00% <100.00%> (ø)
...ources/Domain/Screenshots/ThemeDesignApplier.swift 100.00% <100.00%> (ø)
Sources/Domain/Screenshots/ThemedPage.swift 100.00% <100.00%> (ø)
.../ScreenshotPlans/AggregateTemplateRepository.swift 100.00% <100.00%> (ø)
...rces/Domain/Screenshots/Gallery/ScreenLayout.swift 99.15% <99.15%> (ø)
... and 11 more
🚀 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.