Skip to content

Commit f97c5fa

Browse files
committed
minor refactors
1 parent e2da64f commit f97c5fa

2 files changed

Lines changed: 5 additions & 4 deletions

File tree

packages/b2c-cli/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
"eslint-config-oclif": "^6",
3333
"eslint-config-prettier": "^10",
3434
"eslint-plugin-prettier": "^5.5.4",
35-
"execa": "^9.5.2",
35+
"execa": "^9.6.1",
3636
"mocha": "^10",
3737
"oclif": "^4",
3838
"prettier": "^3.6.2",

packages/b2c-cli/test/functional/e2e/ods-lifecycle.test.ts

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ describe('ODS Lifecycle E2E Tests', function () {
9898
describe('Step 1: Create Sandbox', function () {
9999
it('should create a new sandbox with permissions and wait for readiness', async function () {
100100
// --wait can take 5-10 minutes, so increase timeout for this test
101-
this.timeout(600000); // 10 minutes
101+
this.timeout(600000); // 6 minutes
102102

103103
const result = await runCLI([
104104
'ods', 'create',
@@ -166,7 +166,8 @@ describe('ODS Lifecycle E2E Tests', function () {
166166
CARTRIDGES_DIR,
167167
'--cartridge', 'plugin_example',
168168
'--server', serverHostname,
169-
'--account-manager-host', process.env.SFCC_ACCOUNT_MANAGER_HOST || 'account-pod5.demandware.net',
169+
'--account-manager-host',
170+
process.env.SFCC_ACCOUNT_MANAGER_HOST!,
170171
'--json'
171172
]);
172173

@@ -218,7 +219,7 @@ describe('ODS Lifecycle E2E Tests', function () {
218219
expect(result.exitCode).to.equal(0, `Start command failed: ${result.stderr}`);
219220
const state = await getSandboxState(sandboxId);
220221
if (state) {
221-
expect(['started', 'starting']).to.include(state);
222+
expect(['started']).to.include(state);
222223
}
223224
});
224225
});

0 commit comments

Comments
 (0)