Skip to content

Commit f6c2ecb

Browse files
allow for missing projectId
1 parent a57ea25 commit f6c2ecb

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

cypress-tests/cypress/e2e/v2/dataConnectors.cy.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ describe("Data Connectors", () => {
2222
const projectSlug = `project-for-data-connector-tests-${randomString}`;
2323
let userNamespace: string;
2424
let dataConnectorName: string;
25-
let projectId: string;
25+
let projectId: string | undefined;
2626
let groupName: string;
2727
let groupSlug: string;
2828

@@ -40,7 +40,7 @@ describe("Data Connectors", () => {
4040
slug: projectSlug,
4141
visibility: "private",
4242
}).then((response) => {
43-
projectId = response.body.id ?? "";
43+
projectId = response.body.id;
4444
});
4545
});
4646
});

0 commit comments

Comments
 (0)