The matcher comparison does not depend on the runtime, so it should run on every
runtime core supports. Only the Node suite ran it before.
The comparison and the app.fetch fixtures move into differential.ts and
app-fixture.ts, which use neither vitest nor a file API. Each runtime passes in
a loader for the frozen JSON. The vitest files use the same modules, plus a
Node check that the neutral runners report no mismatch, so the two paths cannot
drift.
- Deno and Bun: test/{deno,bun}/router-parity.test.ts run all 1158 frozen
matcher cases (hand-picked, owner, generated v1 and v2, WS) through the oracle
and the live router, plus the 55 app.fetch cases.
- workerd: test/edge/parity-worker.ts bundles the frozen JSON and runs the
same checks; test/edge/run.ts adds the phase after its existing assertions.
The Node-socket, WS-upgrade, boot and mesh captures stay Node-only: they need
http.request, the ws client, or a mesh peer on a port.
Refs #109
Signed-off-by: Diego Resendez <diego.resendez@zero-oneit.com>
32 lines
1.0 KiB
Plaintext
32 lines
1.0 KiB
Plaintext
# Local specs & plans — not committed
|
|
.specs/
|
|
|
|
# Per-developer agent state: local settings and tool locks, one directory per assistant. Nothing
|
|
# here is shared configuration — `.serena/` even ships its own .gitignore. A repository-wide
|
|
# `.claude/settings.json` is a real convention and would need a `!` line here to be committable;
|
|
# none exists today, so this stays a blanket ignore rather than a rule for a file nobody wrote.
|
|
.claude/
|
|
.serena/
|
|
|
|
# Node
|
|
node_modules/
|
|
dist/
|
|
coverage/
|
|
*.log
|
|
|
|
# Env
|
|
.env
|
|
.env.*
|
|
|
|
|
|
# Edge (Miniflare) test bundle artifact
|
|
test/edge/_worker.mjs
|
|
test/edge/_parity-worker.mjs
|
|
|
|
# Bun writes this on `bun install`, and nothing here consumes it: `npm run test:bun` runs
|
|
# `bun test` against the node_modules npm installed, which package-lock.json already pins.
|
|
# deno.lock IS tracked, and that asymmetry is deliberate — the Deno tests import `npm:` and
|
|
# `jsr:` specifiers that Deno resolves against registries, so only a lockfile makes them
|
|
# reproducible. Bun resolves the same package.json npm does.
|
|
bun.lock
|