diff --git a/src/app/onboarding/components/glam/archive-creation-start-screen/archive-creation-start-screen.component.spec.ts b/src/app/onboarding/components/glam/archive-creation-start-screen/archive-creation-start-screen.component.spec.ts index cd5ebd943..7636eccd7 100644 --- a/src/app/onboarding/components/glam/archive-creation-start-screen/archive-creation-start-screen.component.spec.ts +++ b/src/app/onboarding/components/glam/archive-creation-start-screen/archive-creation-start-screen.component.spec.ts @@ -78,9 +78,8 @@ describe('ArchiveCreationStartScreenComponent', () => { }); it('should not set hasShareToken if shareToken does not exist in localStorage', async () => { - const { instance, fixture } = await shallow.render(); - spyOn(localStorage, 'getItem').and.returnValue(null); + const { instance, fixture } = await shallow.render(); instance.ngOnInit(); fixture.detectChanges();