Commit 421b233
committed
feat: add integration tests for control plane using workerd runtime (#73)
Adds 14 integration tests that run inside the real workerd runtime via
@cloudflare/vitest-pool-workers, validating Worker boot, routing, HMAC
auth, D1 database operations, and Durable Objects with SQLite storage.
Tests run offline with no cloud credentials — miniflare provides local
D1 (SQLite), KV, and DO implementations.
isolatedStorage is disabled due to workers-sdk#11031 (SQLite WAL files
break the storage snapshot assertions). D1 isolation is achieved via
beforeEach cleanup instead.1 parent 3718b7d commit 421b233
13 files changed
Lines changed: 1220 additions & 7 deletions
File tree
- .github/workflows
- packages/control-plane
- test/integration
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
130 | 130 | | |
131 | 131 | | |
132 | 132 | | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
133 | 139 | | |
134 | 140 | | |
135 | 141 | | |
| |||
0 commit comments