TSK-1838: updated Frontend dependencies
except for chart.js and ng2-charts
This commit is contained in:
parent
1c79008113
commit
2e07e1aa12
|
@ -10,7 +10,7 @@ on:
|
|||
|
||||
env:
|
||||
JAVA_VERSION: 11
|
||||
NODE_VERSION: 16.13.2
|
||||
NODE_VERSION: 16.14.2
|
||||
|
||||
ARTIFACTS_CYPRESS_TESTS_NAME: cypress-tests
|
||||
ARTIFACTS_CYPRESS_TESTS_PATH: web/cypress
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
const { pathsToModuleNameMapper } = require('ts-jest/utils');
|
||||
const { pathsToModuleNameMapper } = require('ts-jest');
|
||||
const { compilerOptions } = require('./tsconfig');
|
||||
require('jest-preset-angular/ngcc-jest-processor');
|
||||
|
||||
module.exports = {
|
||||
globalSetup: 'jest-preset-angular/global-setup',
|
||||
preset: 'jest-preset-angular',
|
||||
roots: ['<rootDir>/src'],
|
||||
modulePaths: ['<rootDir>'],
|
||||
|
|
|
@ -22,57 +22,57 @@
|
|||
},
|
||||
"private": true,
|
||||
"dependencies": {
|
||||
"@angular/animations": "13.1.2",
|
||||
"@angular/cdk": "13.1.2",
|
||||
"@angular/common": "13.1.2",
|
||||
"@angular/core": "13.1.2",
|
||||
"@angular/forms": "13.1.2",
|
||||
"@angular/material": "13.1.2",
|
||||
"@angular/platform-browser": "13.1.2",
|
||||
"@angular/platform-browser-dynamic": "13.1.2",
|
||||
"@angular/router": "13.1.2",
|
||||
"@angular/animations": "13.3.1",
|
||||
"@angular/cdk": "13.3.2",
|
||||
"@angular/common": "13.3.1",
|
||||
"@angular/core": "13.3.1",
|
||||
"@angular/forms": "13.3.1",
|
||||
"@angular/material": "13.3.2",
|
||||
"@angular/platform-browser": "13.3.1",
|
||||
"@angular/platform-browser-dynamic": "13.3.1",
|
||||
"@angular/router": "13.3.1",
|
||||
"@circlon/angular-tree-component": "11.0.4",
|
||||
"@ngneat/hot-toast": "4.1.0",
|
||||
"@ngneat/overview": "3.0.2",
|
||||
"@ngneat/overview": "3.0.4",
|
||||
"@ngxs/store": "3.7.3",
|
||||
"angular-svg-icon": "13.0.0",
|
||||
"chart.js": "2.9.4",
|
||||
"core-js": "3.20.3",
|
||||
"core-js": "3.21.1",
|
||||
"file-saver": "2.0.5",
|
||||
"lodash": "^4.5.0",
|
||||
"lodash": "4.17.21",
|
||||
"ng2-charts": "2.4.3",
|
||||
"ngx-bootstrap": "7.1.0",
|
||||
"ngx-infinite-scroll": "10.0.1",
|
||||
"rxjs": "7.5.2",
|
||||
"ngx-bootstrap": "8.0.0",
|
||||
"ngx-infinite-scroll": "13.0.1",
|
||||
"rxjs": "7.5.5",
|
||||
"tslib": "2.3.1",
|
||||
"zone.js": "0.11.4"
|
||||
"zone.js": "0.11.5"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@angular-builders/custom-webpack": "13.0.0",
|
||||
"@angular-devkit/build-angular": "13.1.3",
|
||||
"@angular/cli": "13.1.3",
|
||||
"@angular/compiler": "13.1.2",
|
||||
"@angular/compiler-cli": "13.1.2",
|
||||
"@angular-builders/custom-webpack": "13.1.0",
|
||||
"@angular-devkit/build-angular": "13.3.1",
|
||||
"@angular/cli": "13.3.1",
|
||||
"@angular/compiler": "13.3.1",
|
||||
"@angular/compiler-cli": "13.3.1",
|
||||
"@ngxs/devtools-plugin": "3.7.3",
|
||||
"@types/jest": "26.0.23",
|
||||
"@types/lodash": "4.14.178",
|
||||
"@types/node": "16.11.20",
|
||||
"@typescript-eslint/eslint-plugin": "5.9.1",
|
||||
"@typescript-eslint/eslint-plugin-tslint": "5.9.1",
|
||||
"@typescript-eslint/parser": "5.9.1",
|
||||
"@types/jest": "27.4.1",
|
||||
"@types/lodash": "4.14.181",
|
||||
"@types/node": "17.0.23",
|
||||
"@typescript-eslint/eslint-plugin": "5.18.0",
|
||||
"@typescript-eslint/eslint-plugin-tslint": "5.18.0",
|
||||
"@typescript-eslint/parser": "5.18.0",
|
||||
"compression-webpack-plugin": "9.2.0",
|
||||
"cypress": "9.2.1",
|
||||
"cypress": "9.5.3",
|
||||
"cypress-intellij-reporter": "0.0.7",
|
||||
"eslint": "8.7.0",
|
||||
"eslint-config-prettier": "8.3.0",
|
||||
"eslint-plugin-import": "2.25.4",
|
||||
"eslint": "8.12.0",
|
||||
"eslint-config-prettier": "8.5.0",
|
||||
"eslint-plugin-import": "2.26.0",
|
||||
"eslint-plugin-prettier": "4.0.0",
|
||||
"jest": "27.0.5",
|
||||
"jest-preset-angular": "11.0.1",
|
||||
"prettier": "2.5.1",
|
||||
"sass": "1.48.0",
|
||||
"ts-jest": "27.0.7",
|
||||
"jest": "27.5.1",
|
||||
"jest-preset-angular": "11.1.1",
|
||||
"prettier": "2.6.2",
|
||||
"sass": "1.49.11",
|
||||
"ts-jest": "27.1.4",
|
||||
"tslint": "6.1.3",
|
||||
"typescript": "4.5.4"
|
||||
"typescript": "4.6.3"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -12,10 +12,10 @@ import { ClassificationCategoriesService } from '../../../shared/services/classi
|
|||
import { AccessItemsManagementState } from '../../../shared/store/access-items-management-store/access-items-management.state';
|
||||
import { Observable } from 'rxjs';
|
||||
import { GetAccessItems } from '../../../shared/store/access-items-management-store/access-items-management.actions';
|
||||
import { MatDialogModule, MatDialogRef } from '@angular/material/dialog';
|
||||
import { MatDialogModule } from '@angular/material/dialog';
|
||||
import { TypeAheadComponent } from '../../../shared/components/type-ahead/type-ahead.component';
|
||||
import { TypeaheadModule } from 'ngx-bootstrap/typeahead';
|
||||
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
|
||||
import { NoopAnimationsModule } from '@angular/platform-browser/animations';
|
||||
import { Direction, Sorting, WorkbasketAccessItemQuerySortParameter } from '../../../shared/models/sorting';
|
||||
import { StartupService } from '../../../shared/services/startup/startup.service';
|
||||
import { TaskanaEngineService } from '../../../shared/services/taskana-engine/taskana-engine.service';
|
||||
|
@ -79,7 +79,7 @@ describe('AccessItemsManagementComponent', () => {
|
|||
ReactiveFormsModule,
|
||||
MatDialogModule,
|
||||
TypeaheadModule.forRoot(),
|
||||
BrowserAnimationsModule,
|
||||
NoopAnimationsModule,
|
||||
MatFormFieldModule,
|
||||
MatSelectModule,
|
||||
MatAutocompleteModule,
|
||||
|
|
|
@ -7,7 +7,7 @@ import { RouterTestingModule } from '@angular/router/testing';
|
|||
import { DomainService } from '../../../shared/services/domain/domain.service';
|
||||
import { HttpClientTestingModule } from '@angular/common/http/testing';
|
||||
import { of } from 'rxjs';
|
||||
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
|
||||
import { NoopAnimationsModule } from '@angular/platform-browser/animations';
|
||||
import { TaskanaEngineService } from '../../../shared/services/taskana-engine/taskana-engine.service';
|
||||
|
||||
const domainServiceSpy: Partial<DomainService> = {
|
||||
|
@ -28,7 +28,7 @@ describe('AdministrationOverviewComponent', () => {
|
|||
MatTabsModule,
|
||||
RouterTestingModule.withRoutes([]),
|
||||
HttpClientTestingModule,
|
||||
BrowserAnimationsModule
|
||||
NoopAnimationsModule
|
||||
],
|
||||
declarations: [AdministrationOverviewComponent],
|
||||
providers: [{ provide: DomainService, useValue: domainServiceSpy }, TaskanaEngineService]
|
||||
|
|
|
@ -28,7 +28,7 @@ import { MatOptionModule } from '@angular/material/core';
|
|||
import { MatSelectModule } from '@angular/material/select';
|
||||
import { MatMenuModule } from '@angular/material/menu';
|
||||
import { MatInputModule } from '@angular/material/input';
|
||||
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
|
||||
import { NoopAnimationsModule } from '@angular/platform-browser/animations';
|
||||
import { By } from '@angular/platform-browser';
|
||||
import { MatProgressBarModule } from '@angular/material/progress-bar';
|
||||
import { MatToolbarModule } from '@angular/material/toolbar';
|
||||
|
@ -120,7 +120,7 @@ describe('ClassificationDetailsComponent', () => {
|
|||
MatProgressBarModule,
|
||||
MatMenuModule,
|
||||
MatTooltipModule,
|
||||
BrowserAnimationsModule
|
||||
NoopAnimationsModule
|
||||
],
|
||||
declarations: [ClassificationDetailsComponent, InputStub, FieldErrorDisplayStub, SvgIconStub, TextareaStub],
|
||||
providers: [
|
||||
|
|
|
@ -15,7 +15,7 @@ import { EngineConfigurationState } from '../../../shared/store/engine-configura
|
|||
import { MatIconModule } from '@angular/material/icon';
|
||||
import { MatMenuModule } from '@angular/material/menu';
|
||||
import { MatFormFieldModule } from '@angular/material/form-field';
|
||||
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
|
||||
import { NoopAnimationsModule } from '@angular/platform-browser/animations';
|
||||
import { MatInputModule } from '@angular/material/input';
|
||||
import { By } from '@angular/platform-browser';
|
||||
import { MatProgressBarModule } from '@angular/material/progress-bar';
|
||||
|
@ -82,7 +82,7 @@ describe('ClassificationListComponent', () => {
|
|||
MatMenuModule,
|
||||
MatFormFieldModule,
|
||||
MatInputModule,
|
||||
BrowserAnimationsModule,
|
||||
NoopAnimationsModule,
|
||||
MatProgressBarModule
|
||||
],
|
||||
declarations: [
|
||||
|
|
|
@ -9,7 +9,7 @@ import { DomainService } from '../../../shared/services/domain/domain.service';
|
|||
import { classificationStateMock } from '../../../shared/store/mock-data/mock-store';
|
||||
import { MatFormFieldModule } from '@angular/material/form-field';
|
||||
import { MatSelectModule } from '@angular/material/select';
|
||||
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
|
||||
import { NoopAnimationsModule } from '@angular/platform-browser/animations';
|
||||
import { By } from '@angular/platform-browser';
|
||||
|
||||
const classificationServiceSpy = jest.fn();
|
||||
|
@ -24,12 +24,7 @@ describe('ClassificationTypesSelectorComponent', () => {
|
|||
|
||||
beforeEach(async(() => {
|
||||
TestBed.configureTestingModule({
|
||||
imports: [
|
||||
NgxsModule.forRoot([ClassificationState]),
|
||||
MatFormFieldModule,
|
||||
MatSelectModule,
|
||||
BrowserAnimationsModule
|
||||
],
|
||||
imports: [NgxsModule.forRoot([ClassificationState]), MatFormFieldModule, MatSelectModule, NoopAnimationsModule],
|
||||
declarations: [ClassificationTypesSelectorComponent],
|
||||
providers: [
|
||||
{ provide: ClassificationsService, useValue: classificationServiceSpy },
|
||||
|
|
|
@ -21,15 +21,15 @@ import { StartupService } from '../../../shared/services/startup/startup.service
|
|||
import { TaskanaEngineService } from '../../../shared/services/taskana-engine/taskana-engine.service';
|
||||
import { WindowRefService } from '../../../shared/services/window/window.service';
|
||||
import {
|
||||
workbasketAccessItemsMock,
|
||||
engineConfigurationMock,
|
||||
selectedWorkbasketMock
|
||||
selectedWorkbasketMock,
|
||||
workbasketAccessItemsMock
|
||||
} from '../../../shared/store/mock-data/mock-store';
|
||||
import {
|
||||
GetWorkbasketAccessItems,
|
||||
UpdateWorkbasketAccessItems
|
||||
} from '../../../shared/store/workbasket-store/workbasket.actions';
|
||||
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
|
||||
import { NoopAnimationsModule } from '@angular/platform-browser/animations';
|
||||
import { MatSelectModule } from '@angular/material/select';
|
||||
import { MatAutocompleteModule } from '@angular/material/autocomplete';
|
||||
import { MatFormFieldModule } from '@angular/material/form-field';
|
||||
|
@ -80,7 +80,7 @@ describe('WorkbasketAccessItemsComponent', () => {
|
|||
NgxsModule.forRoot([WorkbasketState, EngineConfigurationState]),
|
||||
HttpClientTestingModule,
|
||||
RouterTestingModule.withRoutes([]),
|
||||
BrowserAnimationsModule,
|
||||
NoopAnimationsModule,
|
||||
MatFormFieldModule,
|
||||
MatInputModule,
|
||||
MatSelectModule,
|
||||
|
|
|
@ -23,7 +23,7 @@ import { MatProgressBarModule } from '@angular/material/progress-bar';
|
|||
import { MatTabsModule } from '@angular/material/tabs';
|
||||
import { MatMenuModule } from '@angular/material/menu';
|
||||
import { MatToolbarModule } from '@angular/material/toolbar';
|
||||
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
|
||||
import { NoopAnimationsModule } from '@angular/platform-browser/animations';
|
||||
import { CopyWorkbasket, CreateWorkbasket } from '../../../shared/store/workbasket-store/workbasket.actions';
|
||||
import { take } from 'rxjs/operators';
|
||||
import { MatTooltipModule } from '@angular/material/tooltip';
|
||||
|
@ -89,7 +89,7 @@ describe('WorkbasketDetailsComponent', () => {
|
|||
MatMenuModule,
|
||||
MatToolbarModule,
|
||||
MatTooltipModule,
|
||||
BrowserAnimationsModule
|
||||
NoopAnimationsModule
|
||||
],
|
||||
declarations: [
|
||||
WorkbasketDetailsComponent,
|
||||
|
|
|
@ -3,7 +3,7 @@ import { Component, DebugElement, Input, Pipe, PipeTransform } from '@angular/co
|
|||
import { WorkbasketDistributionTargetsListComponent } from './workbasket-distribution-targets-list.component';
|
||||
import { InfiniteScrollModule } from 'ngx-infinite-scroll';
|
||||
import { WorkbasketType } from '../../../shared/models/workbasket-type';
|
||||
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
|
||||
import { NoopAnimationsModule } from '@angular/platform-browser/animations';
|
||||
import { engineConfigurationMock, workbasketReadStateMock } from '../../../shared/store/mock-data/mock-store';
|
||||
import { MatIconModule } from '@angular/material/icon';
|
||||
import { MatToolbarModule } from '@angular/material/toolbar';
|
||||
|
@ -84,7 +84,7 @@ describe('WorkbasketDistributionTargetsListComponent', () => {
|
|||
MatTooltipModule,
|
||||
InfiniteScrollModule,
|
||||
ScrollingModule,
|
||||
BrowserAnimationsModule,
|
||||
NoopAnimationsModule,
|
||||
NgxsModule.forRoot([WorkbasketState])
|
||||
],
|
||||
declarations: [WorkbasketDistributionTargetsListComponent, FilterStub, SpinnerStub, IconTypeStub, OrderByMock],
|
||||
|
|
|
@ -22,11 +22,11 @@ import { ClassificationCategoriesService } from '../../../shared/services/classi
|
|||
import { ACTION } from '../../../shared/models/action';
|
||||
import { TypeaheadModule } from 'ngx-bootstrap/typeahead';
|
||||
import { TypeAheadComponent } from '../../../shared/components/type-ahead/type-ahead.component';
|
||||
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
|
||||
import { NoopAnimationsModule } from '@angular/platform-browser/animations';
|
||||
import { MarkWorkbasketForDeletion, UpdateWorkbasket } from '../../../shared/store/workbasket-store/workbasket.actions';
|
||||
import {
|
||||
selectedWorkbasketMock,
|
||||
engineConfigurationMock,
|
||||
selectedWorkbasketMock,
|
||||
workbasketReadStateMock
|
||||
} from '../../../shared/store/mock-data/mock-store';
|
||||
import { StartupService } from '../../../shared/services/startup/startup.service';
|
||||
|
@ -97,7 +97,7 @@ describe('WorkbasketInformationComponent', () => {
|
|||
TypeaheadModule.forRoot(),
|
||||
ReactiveFormsModule,
|
||||
RouterTestingModule.withRoutes([]),
|
||||
BrowserAnimationsModule,
|
||||
NoopAnimationsModule,
|
||||
MatProgressBarModule,
|
||||
MatDividerModule,
|
||||
MatFormFieldModule,
|
||||
|
|
|
@ -8,7 +8,7 @@ import { WorkbasketState } from '../../../shared/store/workbasket-store/workbask
|
|||
import { WorkbasketService } from '../../../shared/services/workbasket/workbasket.service';
|
||||
import { DomainService } from '../../../shared/services/domain/domain.service';
|
||||
import { CreateWorkbasket } from '../../../shared/store/workbasket-store/workbasket.actions';
|
||||
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
|
||||
import { NoopAnimationsModule } from '@angular/platform-browser/animations';
|
||||
import { Direction, Sorting, WorkbasketQuerySortParameter } from '../../../shared/models/sorting';
|
||||
import { ACTION } from '../../../shared/models/action';
|
||||
import { TaskanaType } from '../../../shared/models/taskana-type';
|
||||
|
@ -56,7 +56,7 @@ describe('WorkbasketListToolbarComponent', () => {
|
|||
HttpClientTestingModule,
|
||||
RouterTestingModule,
|
||||
NgxsModule.forRoot([WorkbasketState]),
|
||||
BrowserAnimationsModule,
|
||||
NoopAnimationsModule,
|
||||
MatIconModule,
|
||||
MatDialogModule
|
||||
],
|
||||
|
|
|
@ -2,7 +2,7 @@ import { async, ComponentFixture, TestBed } from '@angular/core/testing';
|
|||
import { DebugElement } from '@angular/core';
|
||||
import { MonitorComponent } from './monitor.component';
|
||||
import { MatTabsModule } from '@angular/material/tabs';
|
||||
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
|
||||
import { NoopAnimationsModule } from '@angular/platform-browser/animations';
|
||||
import { HttpClientTestingModule } from '@angular/common/http/testing';
|
||||
import { RouterModule } from '@angular/router';
|
||||
import { RouterTestingModule } from '@angular/router/testing';
|
||||
|
@ -15,7 +15,7 @@ describe('MonitorComponent', () => {
|
|||
beforeEach(async(() => {
|
||||
TestBed.configureTestingModule({
|
||||
declarations: [MonitorComponent],
|
||||
imports: [MatTabsModule, RouterModule, RouterTestingModule, HttpClientTestingModule, BrowserAnimationsModule]
|
||||
imports: [MatTabsModule, RouterModule, RouterTestingModule, HttpClientTestingModule, NoopAnimationsModule]
|
||||
}).compileComponents();
|
||||
}));
|
||||
|
||||
|
|
|
@ -7,7 +7,7 @@ import { HttpClientTestingModule } from '@angular/common/http/testing';
|
|||
import { TaskPriorityReportFilterComponent } from './task-priority-report-filter.component';
|
||||
import { MatCheckboxModule } from '@angular/material/checkbox';
|
||||
import { MatExpansionModule } from '@angular/material/expansion';
|
||||
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
|
||||
import { NoopAnimationsModule } from '@angular/platform-browser/animations';
|
||||
import { MatDialogModule } from '@angular/material/dialog';
|
||||
|
||||
describe('TaskPriorityReportFilterComponent', () => {
|
||||
|
@ -23,7 +23,7 @@ describe('TaskPriorityReportFilterComponent', () => {
|
|||
HttpClientTestingModule,
|
||||
MatCheckboxModule,
|
||||
MatExpansionModule,
|
||||
BrowserAnimationsModule,
|
||||
NoopAnimationsModule,
|
||||
MatDialogModule
|
||||
],
|
||||
declarations: [TaskPriorityReportFilterComponent]
|
||||
|
|
|
@ -7,7 +7,7 @@ import { NotificationService } from '../../../shared/services/notifications/noti
|
|||
import { MatIconModule } from '@angular/material/icon';
|
||||
import { MatFormFieldModule } from '@angular/material/form-field';
|
||||
import { MatInputModule } from '@angular/material/input';
|
||||
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
|
||||
import { NoopAnimationsModule } from '@angular/platform-browser/animations';
|
||||
import { MatTooltipModule } from '@angular/material/tooltip';
|
||||
import { SettingsState } from '../../../shared/store/settings-store/settings.state';
|
||||
import { SettingsComponent } from './settings.component';
|
||||
|
@ -40,7 +40,7 @@ describe('SettingsComponent', () => {
|
|||
MatFormFieldModule,
|
||||
MatInputModule,
|
||||
MatTooltipModule,
|
||||
BrowserAnimationsModule
|
||||
NoopAnimationsModule
|
||||
],
|
||||
declarations: [SettingsComponent],
|
||||
providers: [
|
||||
|
|
|
@ -6,7 +6,7 @@ import { MatAutocompleteModule } from '@angular/material/autocomplete';
|
|||
import { FormsModule } from '@angular/forms';
|
||||
import { MatFormFieldModule } from '@angular/material/form-field';
|
||||
import { MatInputModule } from '@angular/material/input';
|
||||
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
|
||||
import { NoopAnimationsModule } from '@angular/platform-browser/animations';
|
||||
|
||||
describe('PaginationComponent', () => {
|
||||
let fixture: ComponentFixture<PaginationComponent>;
|
||||
|
@ -21,7 +21,7 @@ describe('PaginationComponent', () => {
|
|||
FormsModule,
|
||||
MatFormFieldModule,
|
||||
MatInputModule,
|
||||
BrowserAnimationsModule
|
||||
NoopAnimationsModule
|
||||
],
|
||||
declarations: [PaginationComponent],
|
||||
providers: []
|
||||
|
|
|
@ -7,7 +7,7 @@ import { NgxsModule } from '@ngxs/store';
|
|||
import { MatFormFieldModule } from '@angular/material/form-field';
|
||||
import { MatInputModule } from '@angular/material/input';
|
||||
import { MatAutocompleteModule } from '@angular/material/autocomplete';
|
||||
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
|
||||
import { NoopAnimationsModule } from '@angular/platform-browser/animations';
|
||||
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
|
||||
import { MatTooltipModule } from '@angular/material/tooltip';
|
||||
|
||||
|
@ -29,7 +29,7 @@ describe('TypeAheadComponent with AccessId input', () => {
|
|||
MatInputModule,
|
||||
MatAutocompleteModule,
|
||||
MatTooltipModule,
|
||||
BrowserAnimationsModule,
|
||||
NoopAnimationsModule,
|
||||
FormsModule,
|
||||
ReactiveFormsModule
|
||||
],
|
||||
|
|
|
@ -2,7 +2,7 @@ import { async, ComponentFixture, TestBed } from '@angular/core/testing';
|
|||
import { Component, DebugElement, Input } from '@angular/core';
|
||||
import { UserInformationComponent } from './user-information.component';
|
||||
import { BrowserModule, By } from '@angular/platform-browser';
|
||||
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
|
||||
import { NoopAnimationsModule } from '@angular/platform-browser/animations';
|
||||
import { TaskanaEngineService } from '../../services/taskana-engine/taskana-engine.service';
|
||||
import { TaskanaEngineServiceMock } from '../../services/taskana-engine/taskana-engine.mock.service';
|
||||
import { HttpClientTestingModule } from '@angular/common/http/testing';
|
||||
|
@ -23,7 +23,7 @@ describe('UserInformationComponent', () => {
|
|||
beforeEach(async(() => {
|
||||
TestBed.configureTestingModule({
|
||||
declarations: [UserInformationComponent, SvgIconStub],
|
||||
imports: [BrowserModule, HttpClientTestingModule, BrowserAnimationsModule],
|
||||
imports: [BrowserModule, HttpClientTestingModule, NoopAnimationsModule],
|
||||
providers: [{ provide: TaskanaEngineService, useClass: TaskanaEngineServiceMock }]
|
||||
}).compileComponents();
|
||||
}));
|
||||
|
|
2905
web/yarn.lock
2905
web/yarn.lock
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue