Skip to content

Commit 43bca3c

Browse files
committed
Handle cloud auth status in custom tools e2e
1 parent 3c832c0 commit 43bca3c

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

‎e2e/scenarios/custom-tools.test.ts‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -371,7 +371,9 @@ scenario(
371371
method: "POST",
372372
}),
373373
);
374-
expect(unauthorized.status, "sync requires authentication").toBe(401);
374+
expect(unauthorized.status, "sync requires authentication").toBe(
375+
target.name === "cloud" ? 403 : 401,
376+
);
375377
yield* Effect.promise(() => unauthorized.text());
376378

377379
const missingGitAuth = yield* Effect.promise(() =>

0 commit comments

Comments
 (0)