Skip to content

Commit eb8a483

Browse files
committed
chore(site/src/pages/AgentsPage): satisfy oxlint in the composer tests
1 parent 2e11030 commit eb8a483

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎site/src/pages/AgentsPage/components/AgentCreateForm.test.tsx‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -772,7 +772,7 @@ describe("AgentCreateForm organization lock", () => {
772772
});
773773

774774
it("does not deny access while permissions load", async () => {
775-
const permissions = createDeferred<void>();
775+
const permissions = createDeferred<undefined>();
776776
server.use(
777777
http.post("/api/v2/authcheck", async ({ request }) => {
778778
await permissions.promise;
@@ -790,7 +790,7 @@ describe("AgentCreateForm organization lock", () => {
790790
await screen.findByRole("textbox", { name: "Chat message" });
791791
expect(screen.queryByText("Permission required")).toBeNull();
792792

793-
permissions.resolve();
793+
permissions.resolve(undefined);
794794
await waitFor(() => {
795795
expect(mcpRequests).toContain(MockOrganization2.id);
796796
});

0 commit comments

Comments
 (0)