granular dependencies (#200)

This commit is contained in:
Cilibiu Bogdan
2018-02-24 09:52:10 +02:00
committed by Denys Vuika
parent 4d7b6d3271
commit 9bbc11b0b0
7 changed files with 117 additions and 51 deletions

View File

@@ -23,13 +23,12 @@
* along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
*/
import { NO_ERRORS_SCHEMA } from '@angular/core';
import { TestBed, async } from '@angular/core/testing';
import { CoreModule } from '@alfresco/adf-core';
import { Router } from '@angular/router';
import { RouterTestingModule } from '@angular/router/testing';
import { SearchComponent } from './search.component';
import { CommonModule } from './../../common/common.module';
describe('SearchComponent', () => {
let fixture;
@@ -39,13 +38,12 @@ describe('SearchComponent', () => {
beforeEach(async(() => {
TestBed.configureTestingModule({
imports: [
CoreModule,
RouterTestingModule,
CommonModule
RouterTestingModule
],
declarations: [
SearchComponent
]
],
schemas: [ NO_ERRORS_SCHEMA ]
})
.compileComponents()
.then(() => {