Skip to content

Commit 635c0fb

Browse files
committed
Fix lint
1 parent 76f9941 commit 635c0fb

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/integration-tests/AuthorizationClient.test.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,8 @@ describe("AuthorizationClient", () => {
4242
await new Promise((r) => setTimeout(r, 2000 * attempt));
4343
}
4444
}
45-
const clients = new OrkesClients(client!);
45+
if (client == null) throw new Error("Failed to create Conductor client");
46+
const clients = new OrkesClients(client);
4647
authClient = clients.getAuthorizationClient();
4748
metadataClient = clients.getMetadataClient();
4849

0 commit comments

Comments
 (0)