Skip to content

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

Open
Abhijeet Prasad (AbhiPrasad) wants to merge 2 commits intomainfrom
abhi-refactor-migrate-deno-smoke-to-e2e
Open

ref(e2e): migrate deno scenarios from smoke to e2e harness#1641
Abhijeet Prasad (AbhiPrasad) wants to merge 2 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
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