Skip to content

Commit

Permalink
Update src/m365/spo/commands/homesite/homesite-list.spec.ts
Browse files Browse the repository at this point in the history
Co-authored-by: Milan Holemans <[email protected]>
  • Loading branch information
reshmee011 and milanholemans authored Nov 20, 2024
1 parent 756b607 commit abcdb96
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/m365/spo/commands/homesite/homesite-list.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ describe(commands.HOMESITE_LIST, () => {
assert.deepStrictEqual(command.defaultProperties(), ['Url', 'Title']);
});

it('lists available home sites (debug)', async () => {
it('lists available home sites', async () => {
sinon.stub(request, 'get').callsFake(async (opts) => {
if (opts.url === `https://contoso-admin.sharepoint.com/_api/SPO.Tenant/GetTargetedSitesDetails`) {
return homeSites;
Expand All @@ -111,7 +111,7 @@ describe(commands.HOMESITE_LIST, () => {
throw opts.url;
});

await command.action(logger, { options: { debug: true, output: 'json' } });
await command.action(logger, { options: { verbose: true } });
assert(loggerLogSpy.calledWith(homeSites.value));
});

Expand Down

0 comments on commit abcdb96

Please sign in to comment.