Skip to content

Commit 60c1caf

Browse files
committed
test(sdk): revert CI hard-fail on missing SFCC_INSTANCE in logs integration
The repo's CI does not provision a live B2C instance — the logs integration suite is genuinely opt-in and skipping is the correct behavior when the prerequisite is unavailable. Reverts the over-zealous "fail loud under CI" change introduced earlier in this PR.
1 parent 16d37eb commit 60c1caf

1 file changed

Lines changed: 0 additions & 8 deletions

File tree

packages/b2c-tooling-sdk/test/operations/logs/integration.test.ts

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -58,14 +58,6 @@ describe('operations/logs integration', function () {
5858

5959
beforeEach(function () {
6060
if (!hasInstance) {
61-
// Fail loudly in CI: integration tests must not silently no-op when env is misconfigured.
62-
if (process.env.CI) {
63-
throw new Error(
64-
'logs integration tests require a configured B2C instance. ' +
65-
'Set SFCC_INSTANCE (and SFCC_CONFIG) env vars or provide a dw.json. ' +
66-
'In CI, this is a hard failure rather than a skip.',
67-
);
68-
}
6961
this.skip();
7062
}
7163
});

0 commit comments

Comments
 (0)