Skip to content

Audit gate tests: group by kind - #2904

Merged
chalin merged 1 commit into
docsy:mainfrom
chalin:chalin-m24-npm-audit-test-grouping-2026-1029
Oct 30, 2026
Merged

chalin merged 1 commit into
docsy:mainfrom
chalin:chalin-m24-npm-audit-test-grouping-2026-1029

Conversation

@chalin

@chalin chalin commented Oct 30, 2026 •

Copy link
Copy Markdown
Collaborator
  • Scope: tests/npm-audit.test.mjs grouped by kind: the live gate stays a flat guard test, the six validateAuditGate unit tests move into a describe block named for what each checks; bodies unchanged
  • Out of scope:
  • Follows both repos' idiom: structural guards are flat test() calls, unit tests of code use describe/it
  • Corrects one name: the first fixture test accepts a report whose only advisory is accepted; it was named as a rejection

- The live gate stays a flat guard test; the six validateAuditGate unit tests move into a describe block, named for what each checks
- Renames the first fixture test, which accepts a report whose only advisory is accepted rather than rejecting anything
@chalin chalin added this to the 0.19.0 milestone Oct 30, 2026
@netlify

netlify Bot commented Oct 30, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for docsydocs ready!

Name Link
🔨 Latest commit e7dd8c3
🔍 Latest deploy log https://app.netlify.com/projects/docsydocs/deploys/6ae3e71fc1fff5d3192c6b64
😎 Deploy Preview https://deploy-preview-2904--docsydocs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@chalin
chalin marked this pull request as ready for review October 30, 2026 00:57
@chalin
chalin requested a review from a team October 30, 2026 00:57
@chalin
chalin merged commit 6868464 into docsy:main Oct 30, 2026
14 checks passed
@chalin
chalin deleted the chalin-m24-npm-audit-test-grouping-2026-1029 branch October 30, 2026 00:57
@chalin chalin modified the milestones: 0.19.0, 0.18.1 Oct 30, 2026
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