From abcdb9662df262208f1920b315724f240c7f4002 Mon Sep 17 00:00:00 2001 From: Reshmee Auckloo Date: Wed, 20 Nov 2024 23:07:54 +0000 Subject: [PATCH] Update src/m365/spo/commands/homesite/homesite-list.spec.ts Co-authored-by: Milan Holemans <11723921+milanholemans@users.noreply.github.com> --- src/m365/spo/commands/homesite/homesite-list.spec.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/m365/spo/commands/homesite/homesite-list.spec.ts b/src/m365/spo/commands/homesite/homesite-list.spec.ts index b3b92a76b9e..e7237e83f5a 100644 --- a/src/m365/spo/commands/homesite/homesite-list.spec.ts +++ b/src/m365/spo/commands/homesite/homesite-list.spec.ts @@ -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; @@ -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)); });