mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-10-08 14:51:32 +00:00
[ADF-1868] Update to Angular 5 (#2606)
* Angular 5.0.0 update * fix core http import * split language html from ts * http deprecation module change * fix test core * fix analytics api * update dependency * exclude breadcrumb object picker test * fix viewer and common new test * fix test cs * fix tasklist test * fix demo shell angular 5 * fix translate * dix search test * restore files demo shell * update tsconfig * rebuild automatic prebuild theme * Fix breadcrumb tests * Fix tests, the right way
This commit is contained in:
@@ -15,9 +15,9 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { HttpClientModule } from '@angular/common/http';
|
||||
import { NO_ERRORS_SCHEMA } from '@angular/core';
|
||||
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
|
||||
import { HttpModule } from '@angular/http';
|
||||
import { TranslateLoader, TranslateModule } from '@ngx-translate/core';
|
||||
import { MaterialModule } from '../../material.module';
|
||||
import { AppConfigService } from '../../services/app-config.service';
|
||||
@@ -56,7 +56,7 @@ describe('PaginationComponent', () => {
|
||||
beforeEach(async(() => {
|
||||
TestBed.configureTestingModule({
|
||||
imports: [
|
||||
HttpModule,
|
||||
HttpClientModule,
|
||||
MaterialModule,
|
||||
TranslateModule.forRoot({
|
||||
loader: {
|
||||
|
Reference in New Issue
Block a user