Commit de9d8bc
test: downstream wire-compat (vectors + smoke)
Phase 2 of ether/etherpad#7923. Adds this repo's first test runner
(node:test via tsx) plus two suites:
- test:vectors — server-free, replays the canonical wire-format fixture
through the repo's own Changeset/AttributePool decoders and asserts
byte-for-byte text equality. All 5 vectors pass with no decoder changes.
- test:smoke — live HTTP+socket.io round-trip; skips cleanly when no
server/API key is available.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent 9be4596 commit de9d8bc
5 files changed
Lines changed: 477 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
| 42 | + | |
42 | 43 | | |
43 | 44 | | |
44 | 45 | | |
45 | 46 | | |
46 | 47 | | |
47 | 48 | | |
48 | | - | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
49 | 53 | | |
50 | 54 | | |
51 | 55 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
0 commit comments