Skip to content

Add app-zone audit unit tests#1034

Merged
MaxGhenis merged 1 commit into
mainfrom
codex/app-zone-audit-tests
May 10, 2026
Merged

Add app-zone audit unit tests#1034
MaxGhenis merged 1 commit into
mainfrom
codex/app-zone-audit-tests

Conversation

@MaxGhenis
Copy link
Copy Markdown
Contributor

Summary

  • refactor the app-zone shell audit script so route, sitemap, fallback, and top-shell predicates are unit-testable
  • add node:test coverage for route extraction, sitemap source/destination mapping, destination fallback gating, and visible top-shell detection
  • preserve query strings and hashes when resolving destination fallback URLs
  • run the audit unit tests in the app-zone shell audit workflow before installing Playwright

Verification

  • node --check .github/scripts/audit-app-zone-shell.mjs
  • node --test .github/scripts/audit-app-zone-shell.test.mjs
  • git diff --check

@vercel
Copy link
Copy Markdown

vercel Bot commented May 10, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
policyengine-app-v2 Ready Ready Preview, Comment May 10, 2026 11:13pm
policyengine-calculator Ready Ready Preview, Comment May 10, 2026 11:13pm
policyengine-calculator-next Ready Ready Preview, Comment May 10, 2026 11:13pm
policyengine-website Ready Ready Preview, Comment May 10, 2026 11:13pm

Request Review

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant