docs/reports/2026-10-05-full-model-comparison/ui-unit-tests.log
1bun test v1.4.0 (34cbb9a40)
2
3components/nnav/navData.test.ts:
4(pass) resolveLogoHref sends event subpages to that event homepage [0.13ms]
5(pass) resolveLogoHref keeps the event homepage as itself
6(pass) resolveLogoHref sends editorial and other routes to the site home [0.03ms]
7(pass) pickCurrentEvent matches an event homepage and its nested paths only [0.02ms]
8
9editorial/sections/editorialLayoutQueries.test.ts:
10(pass) isEditorialOnDemandOnlyActive is off unless the switch is true [0.02ms]
11(pass) isEditorialOnDemandOnlyActive requires webinar in a non-empty type list [0.02ms]
12(pass) resolveEditorialFilters omits the on-demand clause by default [0.15ms]
13(pass) resolveEditorialFilters adds the HTTPS webinar clause when enabled [0.02ms]
14(pass) resolveEditorialFilters keeps on-demand alongside date and type filters [0.03ms]
15(pass) resolveEditorialFilters scopes empty article types to webinars when on-demand [0.01ms]
16
17lib/ads/location.test.ts:
18(pass) deriveAdLocation prefers an explicit location
19(pass) deriveAdLocation maps page types [0.02ms]
20(pass) adImageViewportWidths matches sidebar / taxonomy / page slots [0.04ms]
21
22lib/ads/selection.test.ts:
23(pass) isWithinSchedule treats empty schedules as always eligible [0.03ms]
24(pass) isWithinSchedule respects start and end bounds [0.02ms]
25(pass) getEffectiveSchedule prefers child bounds over the group [0.01ms]
26(pass) getEligibleAds applies group schedule, child overrides, and form exclusion [0.05ms]
27(pass) selectWeightedAd uses cumulative weighting [0.04ms]
28(pass) matchPlacementRule prefers the first topic-specific rule then blank-topic fallback [0.06ms]
29(pass) toAdTrigger maps display modes and forces inline when requested
30
31 20 pass
32 0 fail
33 65 expect() calls
34Ran 20 tests across 4 files. [33.00ms]
35