Showing the changes to apps/cloud/src/api.request-scope.node.test.ts (1 of 14 files). Show all
Unified · Split
| @@ -188,8 +188,8 @@ describe("makeApiLive (prod handler factory) request scoping", () => { · 187 unmodified lines | ||
| 188 | 188 | // has built the per-request layer. We don't care about the response — |
| 189 | 189 | // only that the layer was built once per request. `/integrations` is a |
| 190 | 190 | // v2 protected route (the old `/scope` group was removed). |
| 191 | − await handler(new Request("http://test.local/integrations")); | |
| 192 | − await handler(new Request("http://test.local/integrations")); | |
| 191 | + await handler(new Request("http://test.local/integrations"), Context.empty()); | |
| 192 | + await handler(new Request("http://test.local/integrations"), Context.empty()); | |
| 193 | 193 | |
| 194 | 194 | expect(counts.acquires).toBe(2); |
| 195 | 195 | expect(counts.releases).toBe(2); |