Skip to content

ref(e2e): migrate deno scenarios from smoke to e2e harness#1641

Merged
Abhijeet Prasad (AbhiPrasad) merged 4 commits intomainfrom
abhi-refactor-migrate-deno-smoke-to-e2e
Mar 24, 2026
Merged

ref(e2e): migrate deno scenarios from smoke to e2e harness#1641
Abhijeet Prasad (AbhiPrasad) merged 4 commits intomainfrom
abhi-refactor-migrate-deno-smoke-to-e2e

Conversation

@AbhiPrasad
Copy link
Member

Add runDenoScenarioDir() to the e2e scenario harness so Deno tests can run alongside Node/tsx scenarios under the same mock-server infrastructure. Remove the standalone deno-node and deno-browser smoke scenarios and the legacy js/smoke/tests/deno/deno.json config, which are superseded by e2e/scenarios/deno-node/ and e2e/scenarios/deno-browser/.

  • Refactor runProcess to accept an explicit command arg so it can spawn arbitrary executables (not just process.execPath)
  • Add runDenoScenarioDir() that invokes deno test --no-check with the standard harness env vars; defaults entry to runner.case.ts
  • Expose runDenoScenarioDir on the ScenarioHarness interface and wire it through withScenarioHarness
  • Update e2e/README.md and .agents/skills/e2e-tests/SKILL.md to document the new helper and Deno-specific conventions
  • Clean up js/smoke/README.md and js/smoke/shared/README.md to remove references to the deleted smoke scenarios

Add `runDenoScenarioDir()` to the e2e scenario harness so Deno tests
can run alongside Node/tsx scenarios under the same mock-server
infrastructure. Remove the standalone `deno-node` and `deno-browser`
smoke scenarios and the legacy `js/smoke/tests/deno/deno.json` config,
which are superseded by `e2e/scenarios/deno-node/` and
`e2e/scenarios/deno-browser/`.

- Refactor `runProcess` to accept an explicit `command` arg so it can
  spawn arbitrary executables (not just `process.execPath`)
- Add `runDenoScenarioDir()` that invokes `deno test --no-check` with
  the standard harness env vars; defaults entry to `runner.case.ts`
- Expose `runDenoScenarioDir` on the `ScenarioHarness` interface and
  wire it through `withScenarioHarness`
- Update `e2e/README.md` and `.agents/skills/e2e-tests/SKILL.md` to
  document the new helper and Deno-specific conventions
- Clean up `js/smoke/README.md` and `js/smoke/shared/README.md` to
  remove references to the deleted smoke scenarios
Copy link
Member

@lforst Luca Forstner (lforst) left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks! this moving from smoke to e2e is good 👍

@AbhiPrasad Abhijeet Prasad (AbhiPrasad) merged commit ad230f4 into main Mar 24, 2026
45 of 46 checks passed
@AbhiPrasad Abhijeet Prasad (AbhiPrasad) deleted the abhi-refactor-migrate-deno-smoke-to-e2e branch March 24, 2026 18:34
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.

2 participants