Skip to content

test: add CLI coverage for target capability facts#81

Open
gke0op wants to merge 2 commits into
vercel-labs:mainfrom
gke0op:target-capability-test
Open

test: add CLI coverage for target capability facts#81
gke0op wants to merge 2 commits into
vercel-labs:mainfrom
gke0op:target-capability-test

Conversation

@gke0op
Copy link
Copy Markdown

@gke0op gke0op commented May 18, 2026

Summary

Adds CLI test coverage for zero targets output:

  • Host target has process/runtime capabilities (proc, fs, net)
  • capabilityFacts include hosted process/runtime surface
  • Unavailable capabilities appear with available: false
  • Non-host targets (wasm32-wasi) don't have proc capability

Closes #3

Replaces previous PR #69 which was accidentally closed during rebase.

@vercel
Copy link
Copy Markdown

vercel Bot commented May 18, 2026

@gke0op is attempting to deploy a commit to the Vercel Labs Team on Vercel.

A member of the Team first needs to authorize it.

Adds test coverage for zero targets output:
- Verifies host target has process/runtime capabilities (proc, fs, net)
- Verifies capabilityFacts include hosted process/runtime surface
- Verifies unavailable capabilities appear with available: false
- Verifies non-host targets (wasm32-wasi) don't have proc capability

Closes vercel-labs#3
@gke0op gke0op force-pushed the target-capability-test branch from 68ab69e to e28deda Compare May 18, 2026 18:27
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