Improved testing of search-results-component

This commit is contained in:
Christian Scheible
2018-10-24 15:24:19 +02:00
parent 18ba810cc4
commit 88864f7aaf
3 changed files with 62 additions and 4 deletions

View File

@@ -0,0 +1,15 @@
import { NgModule } from '@angular/core';
import { QueryParamsDirectiveStub } from './query-params-directive-stub';
/**
* This module isn't used. It serves to prevent the AoT compiler
* complaining about components/pipes/directives that were
* created only for use in tests.
* See https://github.com/angular/angular/issues/13590
*/
@NgModule({
declarations: [
QueryParamsDirectiveStub
]
})
export class TestModule {}