History

executor v1.5: integrations and connections rework

Rhys Sullivan committed 5 months ago

Commit a30f26b1 parent bec7b7b497 files · +41191 −81846Browse files

Showing the changes to apps/cloud/src/api.request-scope.node.test.ts (1 of 497 files). Show all

Unified · Split

apps/cloud/src/api.request-scope.node.test.ts+4−3
@@ -186,9 +186,10 @@ describe("makeApiLive (prod handler factory) request scoping", () => { · 185 unmodified lines
186186 // Hit a protected route. ExecutionStackMiddleware short-circuits with
187187 // 403 (no session cookie) but not before `requestScopedMiddleware`
188188 // has built the per-request layer. We don't care about the response —
189− // only that the layer was built once per request.
190− await handler(new Request("http://test.local/scope"));
191− await handler(new Request("http://test.local/scope"));
189+ // only that the layer was built once per request. `/integrations` is a
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"));
192193
193194 expect(counts.acquires).toBe(2);
194195 expect(counts.releases).toBe(2);

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t