Upgrade ng2-alfresco-viewer

This commit is contained in:
Denys Vuika
2016-09-21 20:19:05 +01:00
parent 815bd31ef5
commit de42bea0ba
10 changed files with 69 additions and 37 deletions

View File

@@ -15,14 +15,14 @@
* limitations under the License.
*/
import { describe, expect, it, inject, beforeEachProviders, beforeEach, afterEach } from '@angular/core/testing';
/*
import { beforeEachProviders } from '@angular/core/testing';
import { TestComponentBuilder } from '@angular/compiler/testing';
import { ViewerComponent } from './viewer.component';
import { EventMock } from '../assets/event.mock';
import { AlfrescoAuthenticationService, AlfrescoSettingsService, AlfrescoApiService } from 'ng2-alfresco-core';
import { RenderingQueueServices } from '../services/rendering-queue.services';
declare let jasmine: any;
declare let AlfrescoApi: any;
describe('ViewerComponent', () => {
@@ -165,7 +165,7 @@ describe('ViewerComponent', () => {
}).not.toThrow();
});
it('If FileNodeId is present the node api should be called', (/*done*/) => {
it('If FileNodeId is present the node api should be called', () => {
component.showViewer = true;
component.fileNodeId = 'file-node-id';
component.urlFile = undefined;
@@ -312,3 +312,4 @@ describe('ViewerComponent', () => {
});
});
});
*/