mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-31 17:38:48 +00:00
Migrate from window.console to LogService
This commit is contained in:
@@ -18,11 +18,8 @@
|
||||
import { ReflectiveInjector } from '@angular/core';
|
||||
import { AlfrescoApiService } from './alfresco-api.service';
|
||||
import { RenditionsService } from './renditions.service';
|
||||
import {
|
||||
fakeRedition,
|
||||
fakeReditionCreated,
|
||||
fakeReditionsList
|
||||
} from '../assets/renditionsService.mock';
|
||||
import { LogService } from './log.service';
|
||||
import { fakeRedition, fakeReditionCreated, fakeReditionsList } from '../assets/renditionsService.mock';
|
||||
|
||||
declare let jasmine: any;
|
||||
declare let AlfrescoApi: any;
|
||||
@@ -33,7 +30,8 @@ describe('RenditionsService', () => {
|
||||
beforeEach(() => {
|
||||
injector = ReflectiveInjector.resolveAndCreate([
|
||||
AlfrescoApiService,
|
||||
RenditionsService
|
||||
RenditionsService,
|
||||
LogService
|
||||
]);
|
||||
});
|
||||
|
||||
|
Reference in New Issue
Block a user