diff --git a/aio/src/app/sw-updates/sw-updates.service.spec.ts b/aio/src/app/sw-updates/sw-updates.service.spec.ts index fa35b19931..b833dfbe6d 100644 --- a/aio/src/app/sw-updates/sw-updates.service.spec.ts +++ b/aio/src/app/sw-updates/sw-updates.service.spec.ts @@ -4,6 +4,7 @@ import { SwUpdate } from '@angular/service-worker'; import { Subject } from 'rxjs'; import { Logger } from 'app/shared/logger.service'; +import { MockLogger } from 'testing/logger.service'; import { SwUpdatesService } from './sw-updates.service'; @@ -204,10 +205,6 @@ class MockApplicationRef { isStable = new Subject(); } -class MockLogger { - log = jasmine.createSpy('MockLogger.log'); -} - class MockSwUpdate { $$availableSubj = new Subject<{available: {hash: string}}>(); $$activatedSubj = new Subject<{current: {hash: string}}>();