mirror of
https://github.com/zitadel/zitadel.git
synced 2025-02-28 20:27:23 +00:00
feat(console): angular 11, replace ngx-moment with @angular/material-moment-adapter (#965)
* update core / cli * update material * lint * replace nx-moment with @angular/moment adapter
This commit is contained in:
parent
376fba72d8
commit
e8db038839
@ -50,7 +50,6 @@
|
|||||||
"optimization": true,
|
"optimization": true,
|
||||||
"outputHashing": "all",
|
"outputHashing": "all",
|
||||||
"sourceMap": false,
|
"sourceMap": false,
|
||||||
"extractCss": true,
|
|
||||||
"namedChunks": false,
|
"namedChunks": false,
|
||||||
"extractLicenses": true,
|
"extractLicenses": true,
|
||||||
"vendorChunk": false,
|
"vendorChunk": false,
|
||||||
|
3173
console/package-lock.json
generated
3173
console/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -11,24 +11,25 @@
|
|||||||
},
|
},
|
||||||
"private": true,
|
"private": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@angular/animations": "~10.0.11",
|
"@angular/animations": "~11.0.0",
|
||||||
"@angular/cdk": "~10.1.3",
|
"@angular/cdk": "~11.0.0",
|
||||||
"@angular/common": "~10.0.11",
|
"@angular/common": "~11.0.0",
|
||||||
"@angular/compiler": "~10.0.11",
|
"@angular/compiler": "~11.0.0",
|
||||||
"@angular/core": "~10.0.11",
|
"@angular/core": "~11.0.0",
|
||||||
"@angular/forms": "~10.0.11",
|
"@angular/forms": "~11.0.0",
|
||||||
"@angular/material": "^10.1.3",
|
"@angular/material": "^11.0.0",
|
||||||
"@angular/platform-browser": "~10.0.11",
|
"@angular/material-moment-adapter": "^11.0.0",
|
||||||
"@angular/platform-browser-dynamic": "~10.0.11",
|
"@angular/platform-browser": "~11.0.0",
|
||||||
"@angular/router": "~10.0.11",
|
"@angular/platform-browser-dynamic": "~11.0.0",
|
||||||
"@angular/service-worker": "~10.0.11",
|
"@angular/router": "~11.0.0",
|
||||||
|
"@angular/service-worker": "~11.0.0",
|
||||||
"@ngx-translate/core": "^13.0.0",
|
"@ngx-translate/core": "^13.0.0",
|
||||||
"@ngx-translate/http-loader": "^6.0.0",
|
"@ngx-translate/http-loader": "^6.0.0",
|
||||||
"@types/file-saver": "^2.0.1",
|
"@types/file-saver": "^2.0.1",
|
||||||
"@types/uuid": "^8.3.0",
|
|
||||||
"@types/google-protobuf": "^3.7.4",
|
"@types/google-protobuf": "^3.7.4",
|
||||||
"angularx-qrcode": "^10.0.11",
|
"@types/uuid": "^8.3.0",
|
||||||
"angular-oauth2-oidc": "^10.0.3",
|
"angular-oauth2-oidc": "^10.0.3",
|
||||||
|
"angularx-qrcode": "^10.0.11",
|
||||||
"cors": "^2.8.5",
|
"cors": "^2.8.5",
|
||||||
"file-saver": "^2.0.2",
|
"file-saver": "^2.0.2",
|
||||||
"google-proto-files": "^2.2.0",
|
"google-proto-files": "^2.2.0",
|
||||||
@ -36,29 +37,28 @@
|
|||||||
"grpc": "^1.24.3",
|
"grpc": "^1.24.3",
|
||||||
"grpc-web": "^1.2.1",
|
"grpc-web": "^1.2.1",
|
||||||
"moment": "^2.29.1",
|
"moment": "^2.29.1",
|
||||||
"ngx-moment": "^5.0.0",
|
|
||||||
"ngx-quicklink": "^0.2.6",
|
"ngx-quicklink": "^0.2.6",
|
||||||
"rxjs": "~6.6.3",
|
"rxjs": "~6.6.3",
|
||||||
"ts-protoc-gen": "^0.13.0",
|
"ts-protoc-gen": "^0.13.0",
|
||||||
"tslib": "^2.0.3",
|
"tslib": "^2.0.0",
|
||||||
"uuid": "^8.3.1",
|
"uuid": "^8.3.1",
|
||||||
"zone.js": "~0.11.3"
|
"zone.js": "~0.11.3"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@angular-devkit/build-angular": "~0.1002.0",
|
"@angular-devkit/build-angular": "~0.1100.1",
|
||||||
"@angular/cli": "~10.2.0",
|
"@angular/cli": "~11.0.1",
|
||||||
"@angular/compiler-cli": "~10.0.11",
|
"@angular/compiler-cli": "~11.0.0",
|
||||||
"@angular/language-service": "~11.0.0",
|
"@angular/language-service": "~11.0.0",
|
||||||
"@types/jasmine": "~3.6.1",
|
"@types/jasmine": "~3.6.0",
|
||||||
"@types/jasminewd2": "~2.0.3",
|
"@types/jasminewd2": "~2.0.3",
|
||||||
"@types/node": "^14.14.6",
|
"@types/node": "^14.14.6",
|
||||||
"codelyzer": "^6.0.1",
|
"codelyzer": "^6.0.0",
|
||||||
"jasmine-core": "~3.6.0",
|
"jasmine-core": "~3.6.0",
|
||||||
"jasmine-spec-reporter": "~6.0.0",
|
"jasmine-spec-reporter": "~5.0.0",
|
||||||
"karma": "~5.2.3",
|
"karma": "~5.2.3",
|
||||||
"karma-chrome-launcher": "~3.1.0",
|
"karma-chrome-launcher": "~3.1.0",
|
||||||
"karma-coverage-istanbul-reporter": "~3.0.2",
|
"karma-coverage-istanbul-reporter": "~3.0.2",
|
||||||
"karma-jasmine": "~4.0.1",
|
"karma-jasmine": "~4.0.0",
|
||||||
"karma-jasmine-html-reporter": "^1.5.0",
|
"karma-jasmine-html-reporter": "^1.5.0",
|
||||||
"prettier": "^2.1.2",
|
"prettier": "^2.1.2",
|
||||||
"protractor": "~7.0.0",
|
"protractor": "~7.0.0",
|
||||||
@ -67,6 +67,6 @@
|
|||||||
"stylelint-scss": "^3.18.0",
|
"stylelint-scss": "^3.18.0",
|
||||||
"ts-node": "~9.0.0",
|
"ts-node": "~9.0.0",
|
||||||
"tslint": "~6.1.3",
|
"tslint": "~6.1.3",
|
||||||
"typescript": "^3.9.7"
|
"typescript": "^4.0.5"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -131,6 +131,7 @@ const routes: Routes = [
|
|||||||
routes,
|
routes,
|
||||||
{
|
{
|
||||||
preloadingStrategy: QuicklinkStrategy,
|
preloadingStrategy: QuicklinkStrategy,
|
||||||
|
relativeLinkResolution: 'legacy',
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
|
@ -1,10 +1,10 @@
|
|||||||
import { async, TestBed } from '@angular/core/testing';
|
import { TestBed, waitForAsync } from '@angular/core/testing';
|
||||||
import { RouterTestingModule } from '@angular/router/testing';
|
import { RouterTestingModule } from '@angular/router/testing';
|
||||||
|
|
||||||
import { AppComponent } from './app.component';
|
import { AppComponent } from './app.component';
|
||||||
|
|
||||||
describe('AppComponent', () => {
|
describe('AppComponent', () => {
|
||||||
beforeEach(async(() => {
|
beforeEach(waitForAsync(() => {
|
||||||
TestBed.configureTestingModule({
|
TestBed.configureTestingModule({
|
||||||
imports: [RouterTestingModule],
|
imports: [RouterTestingModule],
|
||||||
declarations: [AppComponent],
|
declarations: [AppComponent],
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
|
import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing';
|
||||||
|
|
||||||
import { AccountsCardComponent } from './accounts-card.component';
|
import { AccountsCardComponent } from './accounts-card.component';
|
||||||
|
|
||||||
@ -6,7 +6,7 @@ describe('AccountsCardComponent', () => {
|
|||||||
let component: AccountsCardComponent;
|
let component: AccountsCardComponent;
|
||||||
let fixture: ComponentFixture<AccountsCardComponent>;
|
let fixture: ComponentFixture<AccountsCardComponent>;
|
||||||
|
|
||||||
beforeEach(async(() => {
|
beforeEach(waitForAsync(() => {
|
||||||
TestBed.configureTestingModule({
|
TestBed.configureTestingModule({
|
||||||
declarations: [AccountsCardComponent],
|
declarations: [AccountsCardComponent],
|
||||||
}).compileComponents();
|
}).compileComponents();
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
|
import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing';
|
||||||
|
|
||||||
import { MemberCreateDialogComponent } from './member-create-dialog.component';
|
import { MemberCreateDialogComponent } from './member-create-dialog.component';
|
||||||
|
|
||||||
@ -7,7 +7,7 @@ describe('AddMemberDialogComponent', () => {
|
|||||||
let component: MemberCreateDialogComponent;
|
let component: MemberCreateDialogComponent;
|
||||||
let fixture: ComponentFixture<MemberCreateDialogComponent>;
|
let fixture: ComponentFixture<MemberCreateDialogComponent>;
|
||||||
|
|
||||||
beforeEach(async(() => {
|
beforeEach(waitForAsync(() => {
|
||||||
TestBed.configureTestingModule({
|
TestBed.configureTestingModule({
|
||||||
declarations: [MemberCreateDialogComponent],
|
declarations: [MemberCreateDialogComponent],
|
||||||
})
|
})
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
|
import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing';
|
||||||
|
|
||||||
import { AvatarComponent } from './avatar.component';
|
import { AvatarComponent } from './avatar.component';
|
||||||
|
|
||||||
@ -6,7 +6,7 @@ describe('AvatarComponent', () => {
|
|||||||
let component: AvatarComponent;
|
let component: AvatarComponent;
|
||||||
let fixture: ComponentFixture<AvatarComponent>;
|
let fixture: ComponentFixture<AvatarComponent>;
|
||||||
|
|
||||||
beforeEach(async(() => {
|
beforeEach(waitForAsync(() => {
|
||||||
TestBed.configureTestingModule({
|
TestBed.configureTestingModule({
|
||||||
declarations: [AvatarComponent],
|
declarations: [AvatarComponent],
|
||||||
})
|
})
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
|
import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing';
|
||||||
|
|
||||||
import { CardComponent } from './card.component';
|
import { CardComponent } from './card.component';
|
||||||
|
|
||||||
@ -6,7 +6,7 @@ describe('CardComponent', () => {
|
|||||||
let component: CardComponent;
|
let component: CardComponent;
|
||||||
let fixture: ComponentFixture<CardComponent>;
|
let fixture: ComponentFixture<CardComponent>;
|
||||||
|
|
||||||
beforeEach(async(() => {
|
beforeEach(waitForAsync(() => {
|
||||||
TestBed.configureTestingModule({
|
TestBed.configureTestingModule({
|
||||||
declarations: [CardComponent],
|
declarations: [CardComponent],
|
||||||
})
|
})
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
|
import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing';
|
||||||
|
|
||||||
import { ChangesComponent } from './changes.component';
|
import { ChangesComponent } from './changes.component';
|
||||||
|
|
||||||
@ -6,7 +6,7 @@ describe('ChangesComponent', () => {
|
|||||||
let component: ChangesComponent;
|
let component: ChangesComponent;
|
||||||
let fixture: ComponentFixture<ChangesComponent>;
|
let fixture: ComponentFixture<ChangesComponent>;
|
||||||
|
|
||||||
beforeEach(async(() => {
|
beforeEach(waitForAsync(() => {
|
||||||
TestBed.configureTestingModule({
|
TestBed.configureTestingModule({
|
||||||
declarations: [ChangesComponent],
|
declarations: [ChangesComponent],
|
||||||
})
|
})
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
|
import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing';
|
||||||
|
|
||||||
import { ContributorsComponent } from './contributors.component';
|
import { ContributorsComponent } from './contributors.component';
|
||||||
|
|
||||||
@ -6,7 +6,7 @@ describe('ContributorsComponent', () => {
|
|||||||
let component: ContributorsComponent;
|
let component: ContributorsComponent;
|
||||||
let fixture: ComponentFixture<ContributorsComponent>;
|
let fixture: ComponentFixture<ContributorsComponent>;
|
||||||
|
|
||||||
beforeEach(async(() => {
|
beforeEach(waitForAsync(() => {
|
||||||
TestBed.configureTestingModule({
|
TestBed.configureTestingModule({
|
||||||
declarations: [ContributorsComponent],
|
declarations: [ContributorsComponent],
|
||||||
})
|
})
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
|
import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing';
|
||||||
|
|
||||||
import { DetailLayoutComponent } from './detail-layout.component';
|
import { DetailLayoutComponent } from './detail-layout.component';
|
||||||
|
|
||||||
@ -6,7 +6,7 @@ describe('DetailLayoutComponent', () => {
|
|||||||
let component: DetailLayoutComponent;
|
let component: DetailLayoutComponent;
|
||||||
let fixture: ComponentFixture<DetailLayoutComponent>;
|
let fixture: ComponentFixture<DetailLayoutComponent>;
|
||||||
|
|
||||||
beforeEach(async(() => {
|
beforeEach(waitForAsync(() => {
|
||||||
TestBed.configureTestingModule({
|
TestBed.configureTestingModule({
|
||||||
declarations: [DetailLayoutComponent],
|
declarations: [DetailLayoutComponent],
|
||||||
})
|
})
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
|
import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing';
|
||||||
|
|
||||||
import { IdpCreateComponent } from './idp-create.component';
|
import { IdpCreateComponent } from './idp-create.component';
|
||||||
|
|
||||||
@ -6,7 +6,7 @@ describe('IdpCreateComponent', () => {
|
|||||||
let component: IdpCreateComponent;
|
let component: IdpCreateComponent;
|
||||||
let fixture: ComponentFixture<IdpCreateComponent>;
|
let fixture: ComponentFixture<IdpCreateComponent>;
|
||||||
|
|
||||||
beforeEach(async(() => {
|
beforeEach(waitForAsync(() => {
|
||||||
TestBed.configureTestingModule({
|
TestBed.configureTestingModule({
|
||||||
declarations: [IdpCreateComponent],
|
declarations: [IdpCreateComponent],
|
||||||
})
|
})
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
|
import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing';
|
||||||
|
|
||||||
import { IdpTableComponent } from './idp-table.component';
|
import { IdpTableComponent } from './idp-table.component';
|
||||||
|
|
||||||
@ -6,7 +6,7 @@ describe('UserTableComponent', () => {
|
|||||||
let component: IdpTableComponent;
|
let component: IdpTableComponent;
|
||||||
let fixture: ComponentFixture<IdpTableComponent>;
|
let fixture: ComponentFixture<IdpTableComponent>;
|
||||||
|
|
||||||
beforeEach(async(() => {
|
beforeEach(waitForAsync(() => {
|
||||||
TestBed.configureTestingModule({
|
TestBed.configureTestingModule({
|
||||||
declarations: [IdpTableComponent],
|
declarations: [IdpTableComponent],
|
||||||
})
|
})
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
|
import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing';
|
||||||
|
|
||||||
import { IdpComponent } from './idp.component';
|
import { IdpComponent } from './idp.component';
|
||||||
|
|
||||||
@ -6,7 +6,7 @@ describe('IdComponent', () => {
|
|||||||
let component: IdpComponent;
|
let component: IdpComponent;
|
||||||
let fixture: ComponentFixture<IdpComponent>;
|
let fixture: ComponentFixture<IdpComponent>;
|
||||||
|
|
||||||
beforeEach(async(() => {
|
beforeEach(waitForAsync(() => {
|
||||||
TestBed.configureTestingModule({
|
TestBed.configureTestingModule({
|
||||||
declarations: [IdpComponent],
|
declarations: [IdpComponent],
|
||||||
})
|
})
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
|
import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing';
|
||||||
import { MatPaginatorModule } from '@angular/material/paginator';
|
import { MatPaginatorModule } from '@angular/material/paginator';
|
||||||
import { MatSortModule } from '@angular/material/sort';
|
import { MatSortModule } from '@angular/material/sort';
|
||||||
import { MatTableModule } from '@angular/material/table';
|
import { MatTableModule } from '@angular/material/table';
|
||||||
@ -10,7 +10,7 @@ describe('MembersTableComponent', () => {
|
|||||||
let component: MembersTableComponent;
|
let component: MembersTableComponent;
|
||||||
let fixture: ComponentFixture<MembersTableComponent>;
|
let fixture: ComponentFixture<MembersTableComponent>;
|
||||||
|
|
||||||
beforeEach(async(() => {
|
beforeEach(waitForAsync(() => {
|
||||||
TestBed.configureTestingModule({
|
TestBed.configureTestingModule({
|
||||||
declarations: [MembersTableComponent],
|
declarations: [MembersTableComponent],
|
||||||
imports: [
|
imports: [
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
|
import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing';
|
||||||
|
|
||||||
import { MetaLayoutComponent } from './meta-layout.component';
|
import { MetaLayoutComponent } from './meta-layout.component';
|
||||||
|
|
||||||
@ -6,7 +6,7 @@ describe('MetaLayoutComponent', () => {
|
|||||||
let component: MetaLayoutComponent;
|
let component: MetaLayoutComponent;
|
||||||
let fixture: ComponentFixture<MetaLayoutComponent>;
|
let fixture: ComponentFixture<MetaLayoutComponent>;
|
||||||
|
|
||||||
beforeEach(async(() => {
|
beforeEach(waitForAsync(() => {
|
||||||
TestBed.configureTestingModule({
|
TestBed.configureTestingModule({
|
||||||
declarations: [MetaLayoutComponent],
|
declarations: [MetaLayoutComponent],
|
||||||
})
|
})
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
|
import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing';
|
||||||
|
|
||||||
import { PasswordComplexityViewComponent } from './password-complexity-view.component';
|
import { PasswordComplexityViewComponent } from './password-complexity-view.component';
|
||||||
|
|
||||||
@ -6,7 +6,7 @@ describe('PasswordComplexityViewComponent', () => {
|
|||||||
let component: PasswordComplexityViewComponent;
|
let component: PasswordComplexityViewComponent;
|
||||||
let fixture: ComponentFixture<PasswordComplexityViewComponent>;
|
let fixture: ComponentFixture<PasswordComplexityViewComponent>;
|
||||||
|
|
||||||
beforeEach(async(() => {
|
beforeEach(waitForAsync(() => {
|
||||||
TestBed.configureTestingModule({
|
TestBed.configureTestingModule({
|
||||||
declarations: [PasswordComplexityViewComponent],
|
declarations: [PasswordComplexityViewComponent],
|
||||||
})
|
})
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
|
import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing';
|
||||||
|
|
||||||
import { LabelPolicyComponent } from './label-policy.component';
|
import { LabelPolicyComponent } from './label-policy.component';
|
||||||
|
|
||||||
@ -6,7 +6,7 @@ describe('LabelPolicyComponent', () => {
|
|||||||
let component: LabelPolicyComponent;
|
let component: LabelPolicyComponent;
|
||||||
let fixture: ComponentFixture<LabelPolicyComponent>;
|
let fixture: ComponentFixture<LabelPolicyComponent>;
|
||||||
|
|
||||||
beforeEach(async(() => {
|
beforeEach(waitForAsync(() => {
|
||||||
TestBed.configureTestingModule({
|
TestBed.configureTestingModule({
|
||||||
declarations: [LabelPolicyComponent],
|
declarations: [LabelPolicyComponent],
|
||||||
})
|
})
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
|
import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing';
|
||||||
|
|
||||||
import { AddIdpDialogComponent } from './add-idp-dialog.component';
|
import { AddIdpDialogComponent } from './add-idp-dialog.component';
|
||||||
|
|
||||||
@ -7,7 +7,7 @@ describe('AddIdpDialogComponent', () => {
|
|||||||
let component: AddIdpDialogComponent;
|
let component: AddIdpDialogComponent;
|
||||||
let fixture: ComponentFixture<AddIdpDialogComponent>;
|
let fixture: ComponentFixture<AddIdpDialogComponent>;
|
||||||
|
|
||||||
beforeEach(async(() => {
|
beforeEach(waitForAsync(() => {
|
||||||
TestBed.configureTestingModule({
|
TestBed.configureTestingModule({
|
||||||
declarations: [AddIdpDialogComponent],
|
declarations: [AddIdpDialogComponent],
|
||||||
})
|
})
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
|
import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing';
|
||||||
|
|
||||||
import { LoginPolicyComponent } from './login-policy.component';
|
import { LoginPolicyComponent } from './login-policy.component';
|
||||||
|
|
||||||
@ -6,7 +6,7 @@ describe('LoginPolicyComponent', () => {
|
|||||||
let component: LoginPolicyComponent;
|
let component: LoginPolicyComponent;
|
||||||
let fixture: ComponentFixture<LoginPolicyComponent>;
|
let fixture: ComponentFixture<LoginPolicyComponent>;
|
||||||
|
|
||||||
beforeEach(async(() => {
|
beforeEach(waitForAsync(() => {
|
||||||
TestBed.configureTestingModule({
|
TestBed.configureTestingModule({
|
||||||
declarations: [LoginPolicyComponent],
|
declarations: [LoginPolicyComponent],
|
||||||
})
|
})
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
|
import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing';
|
||||||
|
|
||||||
import { OrgIamPolicyComponent } from './org-iam-policy.component';
|
import { OrgIamPolicyComponent } from './org-iam-policy.component';
|
||||||
|
|
||||||
@ -6,7 +6,7 @@ describe('OrgIamPolicyComponent', () => {
|
|||||||
let component: OrgIamPolicyComponent;
|
let component: OrgIamPolicyComponent;
|
||||||
let fixture: ComponentFixture<OrgIamPolicyComponent>;
|
let fixture: ComponentFixture<OrgIamPolicyComponent>;
|
||||||
|
|
||||||
beforeEach(async(() => {
|
beforeEach(waitForAsync(() => {
|
||||||
TestBed.configureTestingModule({
|
TestBed.configureTestingModule({
|
||||||
declarations: [OrgIamPolicyComponent],
|
declarations: [OrgIamPolicyComponent],
|
||||||
})
|
})
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
|
import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing';
|
||||||
|
|
||||||
import { PasswordAgePolicyComponent } from './password-age-policy.component';
|
import { PasswordAgePolicyComponent } from './password-age-policy.component';
|
||||||
|
|
||||||
@ -6,7 +6,7 @@ describe('PasswordAgePolicyComponent', () => {
|
|||||||
let component: PasswordAgePolicyComponent;
|
let component: PasswordAgePolicyComponent;
|
||||||
let fixture: ComponentFixture<PasswordAgePolicyComponent>;
|
let fixture: ComponentFixture<PasswordAgePolicyComponent>;
|
||||||
|
|
||||||
beforeEach(async(() => {
|
beforeEach(waitForAsync(() => {
|
||||||
TestBed.configureTestingModule({
|
TestBed.configureTestingModule({
|
||||||
declarations: [PasswordAgePolicyComponent],
|
declarations: [PasswordAgePolicyComponent],
|
||||||
})
|
})
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
|
import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing';
|
||||||
|
|
||||||
import { PasswordComplexityPolicyComponent } from './password-complexity-policy.component';
|
import { PasswordComplexityPolicyComponent } from './password-complexity-policy.component';
|
||||||
|
|
||||||
@ -6,7 +6,7 @@ describe('PasswordComplexityPolicyComponent', () => {
|
|||||||
let component: PasswordComplexityPolicyComponent;
|
let component: PasswordComplexityPolicyComponent;
|
||||||
let fixture: ComponentFixture<PasswordComplexityPolicyComponent>;
|
let fixture: ComponentFixture<PasswordComplexityPolicyComponent>;
|
||||||
|
|
||||||
beforeEach(async(() => {
|
beforeEach(waitForAsync(() => {
|
||||||
TestBed.configureTestingModule({
|
TestBed.configureTestingModule({
|
||||||
declarations: [PasswordComplexityPolicyComponent],
|
declarations: [PasswordComplexityPolicyComponent],
|
||||||
})
|
})
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
|
import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing';
|
||||||
|
|
||||||
import { PasswordLockoutPolicyComponent } from './password-lockout-policy.component';
|
import { PasswordLockoutPolicyComponent } from './password-lockout-policy.component';
|
||||||
|
|
||||||
@ -6,7 +6,7 @@ describe('PasswordLockoutPolicyComponent', () => {
|
|||||||
let component: PasswordLockoutPolicyComponent;
|
let component: PasswordLockoutPolicyComponent;
|
||||||
let fixture: ComponentFixture<PasswordLockoutPolicyComponent>;
|
let fixture: ComponentFixture<PasswordLockoutPolicyComponent>;
|
||||||
|
|
||||||
beforeEach(async(() => {
|
beforeEach(waitForAsync(() => {
|
||||||
TestBed.configureTestingModule({
|
TestBed.configureTestingModule({
|
||||||
declarations: [PasswordLockoutPolicyComponent],
|
declarations: [PasswordLockoutPolicyComponent],
|
||||||
})
|
})
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
|
import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing';
|
||||||
|
|
||||||
import { PolicyGridComponent } from './policy-grid.component';
|
import { PolicyGridComponent } from './policy-grid.component';
|
||||||
|
|
||||||
@ -6,7 +6,7 @@ describe('PolicyGridComponent', () => {
|
|||||||
let component: PolicyGridComponent;
|
let component: PolicyGridComponent;
|
||||||
let fixture: ComponentFixture<PolicyGridComponent>;
|
let fixture: ComponentFixture<PolicyGridComponent>;
|
||||||
|
|
||||||
beforeEach(async(() => {
|
beforeEach(waitForAsync(() => {
|
||||||
TestBed.configureTestingModule({
|
TestBed.configureTestingModule({
|
||||||
declarations: [PolicyGridComponent],
|
declarations: [PolicyGridComponent],
|
||||||
})
|
})
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
|
import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing';
|
||||||
import { MatPaginatorModule } from '@angular/material/paginator';
|
import { MatPaginatorModule } from '@angular/material/paginator';
|
||||||
import { MatSortModule } from '@angular/material/sort';
|
import { MatSortModule } from '@angular/material/sort';
|
||||||
import { MatTableModule } from '@angular/material/table';
|
import { MatTableModule } from '@angular/material/table';
|
||||||
@ -10,7 +10,7 @@ describe('ProjectMembersComponent', () => {
|
|||||||
let component: ProjectMembersComponent;
|
let component: ProjectMembersComponent;
|
||||||
let fixture: ComponentFixture<ProjectMembersComponent>;
|
let fixture: ComponentFixture<ProjectMembersComponent>;
|
||||||
|
|
||||||
beforeEach(async(() => {
|
beforeEach(waitForAsync(() => {
|
||||||
TestBed.configureTestingModule({
|
TestBed.configureTestingModule({
|
||||||
declarations: [ProjectMembersComponent],
|
declarations: [ProjectMembersComponent],
|
||||||
imports: [
|
imports: [
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
|
import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing';
|
||||||
|
|
||||||
import { ProjectRoleDetailComponent } from './project-role-detail.component';
|
import { ProjectRoleDetailComponent } from './project-role-detail.component';
|
||||||
|
|
||||||
@ -6,7 +6,7 @@ describe('ProjectRoleDetailComponent', () => {
|
|||||||
let component: ProjectRoleDetailComponent;
|
let component: ProjectRoleDetailComponent;
|
||||||
let fixture: ComponentFixture<ProjectRoleDetailComponent>;
|
let fixture: ComponentFixture<ProjectRoleDetailComponent>;
|
||||||
|
|
||||||
beforeEach(async(() => {
|
beforeEach(waitForAsync(() => {
|
||||||
TestBed.configureTestingModule({
|
TestBed.configureTestingModule({
|
||||||
declarations: [ProjectRoleDetailComponent],
|
declarations: [ProjectRoleDetailComponent],
|
||||||
})
|
})
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
|
import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing';
|
||||||
import { MatPaginatorModule } from '@angular/material/paginator';
|
import { MatPaginatorModule } from '@angular/material/paginator';
|
||||||
import { MatSortModule } from '@angular/material/sort';
|
import { MatSortModule } from '@angular/material/sort';
|
||||||
import { MatTableModule } from '@angular/material/table';
|
import { MatTableModule } from '@angular/material/table';
|
||||||
@ -10,7 +10,7 @@ describe('ProjectRolesComponent', () => {
|
|||||||
let component: ProjectRolesComponent;
|
let component: ProjectRolesComponent;
|
||||||
let fixture: ComponentFixture<ProjectRolesComponent>;
|
let fixture: ComponentFixture<ProjectRolesComponent>;
|
||||||
|
|
||||||
beforeEach(async(() => {
|
beforeEach(waitForAsync(() => {
|
||||||
TestBed.configureTestingModule({
|
TestBed.configureTestingModule({
|
||||||
declarations: [ProjectRolesComponent],
|
declarations: [ProjectRolesComponent],
|
||||||
imports: [
|
imports: [
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
|
import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing';
|
||||||
|
|
||||||
import { RefreshTableComponent } from './refresh-table.component';
|
import { RefreshTableComponent } from './refresh-table.component';
|
||||||
|
|
||||||
@ -6,7 +6,7 @@ describe('RefreshTableComponent', () => {
|
|||||||
let component: RefreshTableComponent;
|
let component: RefreshTableComponent;
|
||||||
let fixture: ComponentFixture<RefreshTableComponent>;
|
let fixture: ComponentFixture<RefreshTableComponent>;
|
||||||
|
|
||||||
beforeEach(async(() => {
|
beforeEach(waitForAsync(() => {
|
||||||
TestBed.configureTestingModule({
|
TestBed.configureTestingModule({
|
||||||
declarations: [RefreshTableComponent],
|
declarations: [RefreshTableComponent],
|
||||||
})
|
})
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
|
import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing';
|
||||||
|
|
||||||
import { SearchProjectAutocompleteComponent } from './search-project-autocomplete.component';
|
import { SearchProjectAutocompleteComponent } from './search-project-autocomplete.component';
|
||||||
|
|
||||||
@ -7,7 +7,7 @@ describe('SearchProjectComponent', () => {
|
|||||||
let component: SearchProjectAutocompleteComponent;
|
let component: SearchProjectAutocompleteComponent;
|
||||||
let fixture: ComponentFixture<SearchProjectAutocompleteComponent>;
|
let fixture: ComponentFixture<SearchProjectAutocompleteComponent>;
|
||||||
|
|
||||||
beforeEach(async(() => {
|
beforeEach(waitForAsync(() => {
|
||||||
TestBed.configureTestingModule({
|
TestBed.configureTestingModule({
|
||||||
declarations: [SearchProjectAutocompleteComponent],
|
declarations: [SearchProjectAutocompleteComponent],
|
||||||
})
|
})
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
|
import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing';
|
||||||
|
|
||||||
import { SearchRolesAutocompleteComponent } from './search-roles-autocomplete.component';
|
import { SearchRolesAutocompleteComponent } from './search-roles-autocomplete.component';
|
||||||
|
|
||||||
@ -8,7 +8,7 @@ describe('SearchProjectComponent', () => {
|
|||||||
let component: SearchRolesAutocompleteComponent;
|
let component: SearchRolesAutocompleteComponent;
|
||||||
let fixture: ComponentFixture<SearchRolesAutocompleteComponent>;
|
let fixture: ComponentFixture<SearchRolesAutocompleteComponent>;
|
||||||
|
|
||||||
beforeEach(async(() => {
|
beforeEach(waitForAsync(() => {
|
||||||
TestBed.configureTestingModule({
|
TestBed.configureTestingModule({
|
||||||
declarations: [SearchRolesAutocompleteComponent],
|
declarations: [SearchRolesAutocompleteComponent],
|
||||||
})
|
})
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
|
import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing';
|
||||||
|
|
||||||
import { SearchUserAutocompleteComponent } from './search-user-autocomplete.component';
|
import { SearchUserAutocompleteComponent } from './search-user-autocomplete.component';
|
||||||
|
|
||||||
@ -6,7 +6,7 @@ describe('SearchUserAutocompleteComponent', () => {
|
|||||||
let component: SearchUserAutocompleteComponent;
|
let component: SearchUserAutocompleteComponent;
|
||||||
let fixture: ComponentFixture<SearchUserAutocompleteComponent>;
|
let fixture: ComponentFixture<SearchUserAutocompleteComponent>;
|
||||||
|
|
||||||
beforeEach(async(() => {
|
beforeEach(waitForAsync(() => {
|
||||||
TestBed.configureTestingModule({
|
TestBed.configureTestingModule({
|
||||||
declarations: [SearchUserAutocompleteComponent],
|
declarations: [SearchUserAutocompleteComponent],
|
||||||
})
|
})
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
|
import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing';
|
||||||
|
|
||||||
import { UserGrantsComponent } from './user-grants.component';
|
import { UserGrantsComponent } from './user-grants.component';
|
||||||
|
|
||||||
@ -6,7 +6,7 @@ describe('UserGrantsComponent', () => {
|
|||||||
let component: UserGrantsComponent;
|
let component: UserGrantsComponent;
|
||||||
let fixture: ComponentFixture<UserGrantsComponent>;
|
let fixture: ComponentFixture<UserGrantsComponent>;
|
||||||
|
|
||||||
beforeEach(async(() => {
|
beforeEach(waitForAsync(() => {
|
||||||
TestBed.configureTestingModule({
|
TestBed.configureTestingModule({
|
||||||
declarations: [UserGrantsComponent],
|
declarations: [UserGrantsComponent],
|
||||||
})
|
})
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
|
import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing';
|
||||||
|
|
||||||
import { WarnDialogComponent } from './warn-dialog.component';
|
import { WarnDialogComponent } from './warn-dialog.component';
|
||||||
|
|
||||||
@ -6,7 +6,7 @@ describe('WarnDialogComponent', () => {
|
|||||||
let component: WarnDialogComponent;
|
let component: WarnDialogComponent;
|
||||||
let fixture: ComponentFixture<WarnDialogComponent>;
|
let fixture: ComponentFixture<WarnDialogComponent>;
|
||||||
|
|
||||||
beforeEach(async(() => {
|
beforeEach(waitForAsync(() => {
|
||||||
TestBed.configureTestingModule({
|
TestBed.configureTestingModule({
|
||||||
declarations: [WarnDialogComponent],
|
declarations: [WarnDialogComponent],
|
||||||
})
|
})
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
|
import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing';
|
||||||
|
|
||||||
import { HomeComponent } from './home.component';
|
import { HomeComponent } from './home.component';
|
||||||
|
|
||||||
@ -6,7 +6,7 @@ describe('HomeComponent', () => {
|
|||||||
let component: HomeComponent;
|
let component: HomeComponent;
|
||||||
let fixture: ComponentFixture<HomeComponent>;
|
let fixture: ComponentFixture<HomeComponent>;
|
||||||
|
|
||||||
beforeEach(async(() => {
|
beforeEach(waitForAsync(() => {
|
||||||
TestBed.configureTestingModule({
|
TestBed.configureTestingModule({
|
||||||
declarations: [HomeComponent],
|
declarations: [HomeComponent],
|
||||||
}).compileComponents();
|
}).compileComponents();
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
|
import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing';
|
||||||
|
|
||||||
import { FailedEventsComponent } from './failed-events.component';
|
import { FailedEventsComponent } from './failed-events.component';
|
||||||
|
|
||||||
@ -6,7 +6,7 @@ describe('FailedEventsComponent', () => {
|
|||||||
let component: FailedEventsComponent;
|
let component: FailedEventsComponent;
|
||||||
let fixture: ComponentFixture<FailedEventsComponent>;
|
let fixture: ComponentFixture<FailedEventsComponent>;
|
||||||
|
|
||||||
beforeEach(async(() => {
|
beforeEach(waitForAsync(() => {
|
||||||
TestBed.configureTestingModule({
|
TestBed.configureTestingModule({
|
||||||
declarations: [FailedEventsComponent],
|
declarations: [FailedEventsComponent],
|
||||||
})
|
})
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
|
import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing';
|
||||||
import { MatPaginatorModule } from '@angular/material/paginator';
|
import { MatPaginatorModule } from '@angular/material/paginator';
|
||||||
import { MatSortModule } from '@angular/material/sort';
|
import { MatSortModule } from '@angular/material/sort';
|
||||||
import { MatTableModule } from '@angular/material/table';
|
import { MatTableModule } from '@angular/material/table';
|
||||||
@ -10,7 +10,7 @@ describe('IamMembersComponent', () => {
|
|||||||
let component: IamMembersComponent;
|
let component: IamMembersComponent;
|
||||||
let fixture: ComponentFixture<IamMembersComponent>;
|
let fixture: ComponentFixture<IamMembersComponent>;
|
||||||
|
|
||||||
beforeEach(async(() => {
|
beforeEach(waitForAsync(() => {
|
||||||
TestBed.configureTestingModule({
|
TestBed.configureTestingModule({
|
||||||
declarations: [IamMembersComponent],
|
declarations: [IamMembersComponent],
|
||||||
imports: [
|
imports: [
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
|
import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing';
|
||||||
|
|
||||||
import { IamViewsComponent } from './iam-views.component';
|
import { IamViewsComponent } from './iam-views.component';
|
||||||
|
|
||||||
@ -6,7 +6,7 @@ describe('IamViewsComponent', () => {
|
|||||||
let component: IamViewsComponent;
|
let component: IamViewsComponent;
|
||||||
let fixture: ComponentFixture<IamViewsComponent>;
|
let fixture: ComponentFixture<IamViewsComponent>;
|
||||||
|
|
||||||
beforeEach(async(() => {
|
beforeEach(waitForAsync(() => {
|
||||||
TestBed.configureTestingModule({
|
TestBed.configureTestingModule({
|
||||||
declarations: [IamViewsComponent],
|
declarations: [IamViewsComponent],
|
||||||
})
|
})
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
|
import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing';
|
||||||
|
|
||||||
import { IamComponent } from './iam.component';
|
import { IamComponent } from './iam.component';
|
||||||
|
|
||||||
@ -6,7 +6,7 @@ describe('IamComponent', () => {
|
|||||||
let component: IamComponent;
|
let component: IamComponent;
|
||||||
let fixture: ComponentFixture<IamComponent>;
|
let fixture: ComponentFixture<IamComponent>;
|
||||||
|
|
||||||
beforeEach(async(() => {
|
beforeEach(waitForAsync(() => {
|
||||||
TestBed.configureTestingModule({
|
TestBed.configureTestingModule({
|
||||||
declarations: [IamComponent],
|
declarations: [IamComponent],
|
||||||
})
|
})
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
|
import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing';
|
||||||
|
|
||||||
import { OrgCreateComponent } from './org-create.component';
|
import { OrgCreateComponent } from './org-create.component';
|
||||||
|
|
||||||
@ -6,7 +6,7 @@ describe('OrgCreateComponent', () => {
|
|||||||
let component: OrgCreateComponent;
|
let component: OrgCreateComponent;
|
||||||
let fixture: ComponentFixture<OrgCreateComponent>;
|
let fixture: ComponentFixture<OrgCreateComponent>;
|
||||||
|
|
||||||
beforeEach(async(() => {
|
beforeEach(waitForAsync(() => {
|
||||||
TestBed.configureTestingModule({
|
TestBed.configureTestingModule({
|
||||||
declarations: [OrgCreateComponent],
|
declarations: [OrgCreateComponent],
|
||||||
})
|
})
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
|
import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing';
|
||||||
|
|
||||||
import { AddDomainDialogComponent } from './add-domain-dialog.component';
|
import { AddDomainDialogComponent } from './add-domain-dialog.component';
|
||||||
|
|
||||||
@ -6,7 +6,7 @@ describe('WarnDialogComponent', () => {
|
|||||||
let component: AddDomainDialogComponent;
|
let component: AddDomainDialogComponent;
|
||||||
let fixture: ComponentFixture<AddDomainDialogComponent>;
|
let fixture: ComponentFixture<AddDomainDialogComponent>;
|
||||||
|
|
||||||
beforeEach(async(() => {
|
beforeEach(waitForAsync(() => {
|
||||||
TestBed.configureTestingModule({
|
TestBed.configureTestingModule({
|
||||||
declarations: [AddDomainDialogComponent],
|
declarations: [AddDomainDialogComponent],
|
||||||
})
|
})
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
|
import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing';
|
||||||
|
|
||||||
import { DomainVerificationComponent } from './domain-verification.component';
|
import { DomainVerificationComponent } from './domain-verification.component';
|
||||||
|
|
||||||
@ -6,7 +6,7 @@ describe('DomainVerificationComponent', () => {
|
|||||||
let component: DomainVerificationComponent;
|
let component: DomainVerificationComponent;
|
||||||
let fixture: ComponentFixture<DomainVerificationComponent>;
|
let fixture: ComponentFixture<DomainVerificationComponent>;
|
||||||
|
|
||||||
beforeEach(async(() => {
|
beforeEach(waitForAsync(() => {
|
||||||
TestBed.configureTestingModule({
|
TestBed.configureTestingModule({
|
||||||
declarations: [DomainVerificationComponent],
|
declarations: [DomainVerificationComponent],
|
||||||
})
|
})
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
|
import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing';
|
||||||
|
|
||||||
import { OrgDetailComponent } from './org-detail.component';
|
import { OrgDetailComponent } from './org-detail.component';
|
||||||
|
|
||||||
@ -6,7 +6,7 @@ describe('OrgDetailComponent', () => {
|
|||||||
let component: OrgDetailComponent;
|
let component: OrgDetailComponent;
|
||||||
let fixture: ComponentFixture<OrgDetailComponent>;
|
let fixture: ComponentFixture<OrgDetailComponent>;
|
||||||
|
|
||||||
beforeEach(async(() => {
|
beforeEach(waitForAsync(() => {
|
||||||
TestBed.configureTestingModule({
|
TestBed.configureTestingModule({
|
||||||
declarations: [OrgDetailComponent],
|
declarations: [OrgDetailComponent],
|
||||||
})
|
})
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
|
import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing';
|
||||||
|
|
||||||
import { OrgListComponent } from './org-list.component';
|
import { OrgListComponent } from './org-list.component';
|
||||||
|
|
||||||
@ -6,7 +6,7 @@ describe('OrgListComponent', () => {
|
|||||||
let component: OrgListComponent;
|
let component: OrgListComponent;
|
||||||
let fixture: ComponentFixture<OrgListComponent>;
|
let fixture: ComponentFixture<OrgListComponent>;
|
||||||
|
|
||||||
beforeEach(async(() => {
|
beforeEach(waitForAsync(() => {
|
||||||
TestBed.configureTestingModule({
|
TestBed.configureTestingModule({
|
||||||
declarations: [OrgListComponent],
|
declarations: [OrgListComponent],
|
||||||
})
|
})
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
|
import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing';
|
||||||
|
|
||||||
import { OrgMemberRolesAutocompleteComponent } from './org-member-roles-autocomplete.component';
|
import { OrgMemberRolesAutocompleteComponent } from './org-member-roles-autocomplete.component';
|
||||||
|
|
||||||
@ -6,7 +6,7 @@ describe('OrgMemberRolesAutocompleteComponent', () => {
|
|||||||
let component: OrgMemberRolesAutocompleteComponent;
|
let component: OrgMemberRolesAutocompleteComponent;
|
||||||
let fixture: ComponentFixture<OrgMemberRolesAutocompleteComponent>;
|
let fixture: ComponentFixture<OrgMemberRolesAutocompleteComponent>;
|
||||||
|
|
||||||
beforeEach(async(() => {
|
beforeEach(waitForAsync(() => {
|
||||||
TestBed.configureTestingModule({
|
TestBed.configureTestingModule({
|
||||||
declarations: [OrgMemberRolesAutocompleteComponent],
|
declarations: [OrgMemberRolesAutocompleteComponent],
|
||||||
})
|
})
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
|
import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing';
|
||||||
import { MatPaginatorModule } from '@angular/material/paginator';
|
import { MatPaginatorModule } from '@angular/material/paginator';
|
||||||
import { MatSortModule } from '@angular/material/sort';
|
import { MatSortModule } from '@angular/material/sort';
|
||||||
import { MatTableModule } from '@angular/material/table';
|
import { MatTableModule } from '@angular/material/table';
|
||||||
@ -10,7 +10,7 @@ describe('OrgMembersComponent', () => {
|
|||||||
let component: OrgMembersComponent;
|
let component: OrgMembersComponent;
|
||||||
let fixture: ComponentFixture<OrgMembersComponent>;
|
let fixture: ComponentFixture<OrgMembersComponent>;
|
||||||
|
|
||||||
beforeEach(async(() => {
|
beforeEach(waitForAsync(() => {
|
||||||
TestBed.configureTestingModule({
|
TestBed.configureTestingModule({
|
||||||
declarations: [OrgMembersComponent],
|
declarations: [OrgMembersComponent],
|
||||||
imports: [
|
imports: [
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
|
import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing';
|
||||||
|
|
||||||
import { AppCreateComponent } from './app-create.component';
|
import { AppCreateComponent } from './app-create.component';
|
||||||
|
|
||||||
@ -6,7 +6,7 @@ describe('AppCreateComponent', () => {
|
|||||||
let component: AppCreateComponent;
|
let component: AppCreateComponent;
|
||||||
let fixture: ComponentFixture<AppCreateComponent>;
|
let fixture: ComponentFixture<AppCreateComponent>;
|
||||||
|
|
||||||
beforeEach(async(() => {
|
beforeEach(waitForAsync(() => {
|
||||||
TestBed.configureTestingModule({
|
TestBed.configureTestingModule({
|
||||||
declarations: [AppCreateComponent],
|
declarations: [AppCreateComponent],
|
||||||
})
|
})
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
|
import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing';
|
||||||
|
|
||||||
import { AppDetailComponent } from './app-detail.component';
|
import { AppDetailComponent } from './app-detail.component';
|
||||||
|
|
||||||
@ -6,7 +6,7 @@ describe('AppDetailComponent', () => {
|
|||||||
let component: AppDetailComponent;
|
let component: AppDetailComponent;
|
||||||
let fixture: ComponentFixture<AppDetailComponent>;
|
let fixture: ComponentFixture<AppDetailComponent>;
|
||||||
|
|
||||||
beforeEach(async(() => {
|
beforeEach(waitForAsync(() => {
|
||||||
TestBed.configureTestingModule({
|
TestBed.configureTestingModule({
|
||||||
declarations: [AppDetailComponent],
|
declarations: [AppDetailComponent],
|
||||||
})
|
})
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
|
import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing';
|
||||||
|
|
||||||
import { AppSecretDialogComponent } from './app-secret-dialog.component';
|
import { AppSecretDialogComponent } from './app-secret-dialog.component';
|
||||||
|
|
||||||
@ -6,7 +6,7 @@ describe('AppSecretDialogComponent', () => {
|
|||||||
let component: AppSecretDialogComponent;
|
let component: AppSecretDialogComponent;
|
||||||
let fixture: ComponentFixture<AppSecretDialogComponent>;
|
let fixture: ComponentFixture<AppSecretDialogComponent>;
|
||||||
|
|
||||||
beforeEach(async(() => {
|
beforeEach(waitForAsync(() => {
|
||||||
TestBed.configureTestingModule({
|
TestBed.configureTestingModule({
|
||||||
declarations: [AppSecretDialogComponent],
|
declarations: [AppSecretDialogComponent],
|
||||||
})
|
})
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
|
import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing';
|
||||||
|
|
||||||
import { GrantedProjectDetailComponent } from './granted-project-detail.component';
|
import { GrantedProjectDetailComponent } from './granted-project-detail.component';
|
||||||
|
|
||||||
@ -6,7 +6,7 @@ describe('GrantedProjectDetailComponent', () => {
|
|||||||
let component: GrantedProjectDetailComponent;
|
let component: GrantedProjectDetailComponent;
|
||||||
let fixture: ComponentFixture<GrantedProjectDetailComponent>;
|
let fixture: ComponentFixture<GrantedProjectDetailComponent>;
|
||||||
|
|
||||||
beforeEach(async(() => {
|
beforeEach(waitForAsync(() => {
|
||||||
TestBed.configureTestingModule({
|
TestBed.configureTestingModule({
|
||||||
declarations: [GrantedProjectDetailComponent],
|
declarations: [GrantedProjectDetailComponent],
|
||||||
})
|
})
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
|
import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing';
|
||||||
|
|
||||||
import { GrantedProjectGridComponent } from './granted-project-grid.component';
|
import { GrantedProjectGridComponent } from './granted-project-grid.component';
|
||||||
|
|
||||||
@ -6,7 +6,7 @@ describe('GridComponent', () => {
|
|||||||
let component: GrantedProjectGridComponent;
|
let component: GrantedProjectGridComponent;
|
||||||
let fixture: ComponentFixture<GrantedProjectGridComponent>;
|
let fixture: ComponentFixture<GrantedProjectGridComponent>;
|
||||||
|
|
||||||
beforeEach(async(() => {
|
beforeEach(waitForAsync(() => {
|
||||||
TestBed.configureTestingModule({
|
TestBed.configureTestingModule({
|
||||||
declarations: [GrantedProjectGridComponent],
|
declarations: [GrantedProjectGridComponent],
|
||||||
})
|
})
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
|
import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing';
|
||||||
|
|
||||||
import { GrantedProjectListComponent } from './granted-project-list.component';
|
import { GrantedProjectListComponent } from './granted-project-list.component';
|
||||||
|
|
||||||
@ -6,7 +6,7 @@ describe('ProjectListComponent', () => {
|
|||||||
let component: GrantedProjectListComponent;
|
let component: GrantedProjectListComponent;
|
||||||
let fixture: ComponentFixture<GrantedProjectListComponent>;
|
let fixture: ComponentFixture<GrantedProjectListComponent>;
|
||||||
|
|
||||||
beforeEach(async(() => {
|
beforeEach(waitForAsync(() => {
|
||||||
TestBed.configureTestingModule({
|
TestBed.configureTestingModule({
|
||||||
declarations: [GrantedProjectListComponent],
|
declarations: [GrantedProjectListComponent],
|
||||||
})
|
})
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
|
import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing';
|
||||||
|
|
||||||
import { GrantedProjectsComponent } from './granted-projects.component';
|
import { GrantedProjectsComponent } from './granted-projects.component';
|
||||||
|
|
||||||
@ -6,7 +6,7 @@ describe('GrantedProjectsComponent', () => {
|
|||||||
let component: GrantedProjectsComponent;
|
let component: GrantedProjectsComponent;
|
||||||
let fixture: ComponentFixture<GrantedProjectsComponent>;
|
let fixture: ComponentFixture<GrantedProjectsComponent>;
|
||||||
|
|
||||||
beforeEach(async(() => {
|
beforeEach(waitForAsync(() => {
|
||||||
TestBed.configureTestingModule({
|
TestBed.configureTestingModule({
|
||||||
declarations: [GrantedProjectsComponent],
|
declarations: [GrantedProjectsComponent],
|
||||||
})
|
})
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
|
import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing';
|
||||||
|
|
||||||
import { ApplicationGridComponent } from './application-grid.component';
|
import { ApplicationGridComponent } from './application-grid.component';
|
||||||
|
|
||||||
@ -6,7 +6,7 @@ describe('AppGridComponent', () => {
|
|||||||
let component: ApplicationGridComponent;
|
let component: ApplicationGridComponent;
|
||||||
let fixture: ComponentFixture<ApplicationGridComponent>;
|
let fixture: ComponentFixture<ApplicationGridComponent>;
|
||||||
|
|
||||||
beforeEach(async(() => {
|
beforeEach(waitForAsync(() => {
|
||||||
TestBed.configureTestingModule({
|
TestBed.configureTestingModule({
|
||||||
declarations: [ApplicationGridComponent],
|
declarations: [ApplicationGridComponent],
|
||||||
})
|
})
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
|
import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing';
|
||||||
import { MatPaginatorModule } from '@angular/material/paginator';
|
import { MatPaginatorModule } from '@angular/material/paginator';
|
||||||
import { MatSortModule } from '@angular/material/sort';
|
import { MatSortModule } from '@angular/material/sort';
|
||||||
import { MatTableModule } from '@angular/material/table';
|
import { MatTableModule } from '@angular/material/table';
|
||||||
@ -10,7 +10,7 @@ describe('ProjectApplicationsComponent', () => {
|
|||||||
let component: ApplicationsComponent;
|
let component: ApplicationsComponent;
|
||||||
let fixture: ComponentFixture<ApplicationsComponent>;
|
let fixture: ComponentFixture<ApplicationsComponent>;
|
||||||
|
|
||||||
beforeEach(async(() => {
|
beforeEach(waitForAsync(() => {
|
||||||
TestBed.configureTestingModule({
|
TestBed.configureTestingModule({
|
||||||
declarations: [ApplicationsComponent],
|
declarations: [ApplicationsComponent],
|
||||||
imports: [
|
imports: [
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
|
import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing';
|
||||||
|
|
||||||
import { OwnedProjectDetailComponent } from './owned-project-detail.component';
|
import { OwnedProjectDetailComponent } from './owned-project-detail.component';
|
||||||
|
|
||||||
@ -7,7 +7,7 @@ describe('ProjectDetailComponent', () => {
|
|||||||
let component: OwnedProjectDetailComponent;
|
let component: OwnedProjectDetailComponent;
|
||||||
let fixture: ComponentFixture<OwnedProjectDetailComponent>;
|
let fixture: ComponentFixture<OwnedProjectDetailComponent>;
|
||||||
|
|
||||||
beforeEach(async(() => {
|
beforeEach(waitForAsync(() => {
|
||||||
TestBed.configureTestingModule({
|
TestBed.configureTestingModule({
|
||||||
declarations: [OwnedProjectDetailComponent],
|
declarations: [OwnedProjectDetailComponent],
|
||||||
})
|
})
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
|
import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing';
|
||||||
|
|
||||||
import { ProjectGrantsComponent } from './project-grants.component';
|
import { ProjectGrantsComponent } from './project-grants.component';
|
||||||
|
|
||||||
@ -6,7 +6,7 @@ describe('ProjectGrantsComponent', () => {
|
|||||||
let component: ProjectGrantsComponent;
|
let component: ProjectGrantsComponent;
|
||||||
let fixture: ComponentFixture<ProjectGrantsComponent>;
|
let fixture: ComponentFixture<ProjectGrantsComponent>;
|
||||||
|
|
||||||
beforeEach(async(() => {
|
beforeEach(waitForAsync(() => {
|
||||||
TestBed.configureTestingModule({
|
TestBed.configureTestingModule({
|
||||||
declarations: [ProjectGrantsComponent],
|
declarations: [ProjectGrantsComponent],
|
||||||
})
|
})
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
|
import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing';
|
||||||
|
|
||||||
import { OwnedProjectGridComponent } from './owned-project-grid.component';
|
import { OwnedProjectGridComponent } from './owned-project-grid.component';
|
||||||
|
|
||||||
@ -6,7 +6,7 @@ describe('GridComponent', () => {
|
|||||||
let component: OwnedProjectGridComponent;
|
let component: OwnedProjectGridComponent;
|
||||||
let fixture: ComponentFixture<OwnedProjectGridComponent>;
|
let fixture: ComponentFixture<OwnedProjectGridComponent>;
|
||||||
|
|
||||||
beforeEach(async(() => {
|
beforeEach(waitForAsync(() => {
|
||||||
TestBed.configureTestingModule({
|
TestBed.configureTestingModule({
|
||||||
declarations: [OwnedProjectGridComponent],
|
declarations: [OwnedProjectGridComponent],
|
||||||
})
|
})
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
|
import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing';
|
||||||
|
|
||||||
import { GrantedProjectListComponent } from './granted-project-list.component';
|
import { GrantedProjectListComponent } from './granted-project-list.component';
|
||||||
|
|
||||||
@ -6,7 +6,7 @@ describe('ProjectListComponent', () => {
|
|||||||
let component: GrantedProjectListComponent;
|
let component: GrantedProjectListComponent;
|
||||||
let fixture: ComponentFixture<GrantedProjectListComponent>;
|
let fixture: ComponentFixture<GrantedProjectListComponent>;
|
||||||
|
|
||||||
beforeEach(async(() => {
|
beforeEach(waitForAsync(() => {
|
||||||
TestBed.configureTestingModule({
|
TestBed.configureTestingModule({
|
||||||
declarations: [GrantedProjectListComponent],
|
declarations: [GrantedProjectListComponent],
|
||||||
})
|
})
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
|
import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing';
|
||||||
|
|
||||||
import { OwnedProjectsComponent } from './owned-projects.component';
|
import { OwnedProjectsComponent } from './owned-projects.component';
|
||||||
|
|
||||||
@ -6,7 +6,7 @@ describe('OwnedProjectComponent', () => {
|
|||||||
let component: OwnedProjectsComponent;
|
let component: OwnedProjectsComponent;
|
||||||
let fixture: ComponentFixture<OwnedProjectsComponent>;
|
let fixture: ComponentFixture<OwnedProjectsComponent>;
|
||||||
|
|
||||||
beforeEach(async(() => {
|
beforeEach(waitForAsync(() => {
|
||||||
TestBed.configureTestingModule({
|
TestBed.configureTestingModule({
|
||||||
declarations: [OwnedProjectsComponent],
|
declarations: [OwnedProjectsComponent],
|
||||||
})
|
})
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
|
import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing';
|
||||||
|
|
||||||
import { ProjectGrantDetailComponent } from './project-grant-detail.component';
|
import { ProjectGrantDetailComponent } from './project-grant-detail.component';
|
||||||
|
|
||||||
@ -6,7 +6,7 @@ describe('GrantComponent', () => {
|
|||||||
let component: ProjectGrantDetailComponent;
|
let component: ProjectGrantDetailComponent;
|
||||||
let fixture: ComponentFixture<ProjectGrantDetailComponent>;
|
let fixture: ComponentFixture<ProjectGrantDetailComponent>;
|
||||||
|
|
||||||
beforeEach(async(() => {
|
beforeEach(waitForAsync(() => {
|
||||||
TestBed.configureTestingModule({
|
TestBed.configureTestingModule({
|
||||||
declarations: [ProjectGrantDetailComponent],
|
declarations: [ProjectGrantDetailComponent],
|
||||||
})
|
})
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
|
import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing';
|
||||||
|
|
||||||
import { ProjectGrantMembersCreateDialogComponent } from './project-grant-members-create-dialog.component';
|
import { ProjectGrantMembersCreateDialogComponent } from './project-grant-members-create-dialog.component';
|
||||||
|
|
||||||
@ -6,7 +6,7 @@ describe('ProjectGrantMembersCreateDialogComponent', () => {
|
|||||||
let component: ProjectGrantMembersCreateDialogComponent;
|
let component: ProjectGrantMembersCreateDialogComponent;
|
||||||
let fixture: ComponentFixture<ProjectGrantMembersCreateDialogComponent>;
|
let fixture: ComponentFixture<ProjectGrantMembersCreateDialogComponent>;
|
||||||
|
|
||||||
beforeEach(async(() => {
|
beforeEach(waitForAsync(() => {
|
||||||
TestBed.configureTestingModule({
|
TestBed.configureTestingModule({
|
||||||
declarations: [ProjectGrantMembersCreateDialogComponent],
|
declarations: [ProjectGrantMembersCreateDialogComponent],
|
||||||
})
|
})
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
|
import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing';
|
||||||
|
|
||||||
import { ProjectCreateComponent } from './project-create.component';
|
import { ProjectCreateComponent } from './project-create.component';
|
||||||
|
|
||||||
@ -6,7 +6,7 @@ describe('ProjectCreateComponent', () => {
|
|||||||
let component: ProjectCreateComponent;
|
let component: ProjectCreateComponent;
|
||||||
let fixture: ComponentFixture<ProjectCreateComponent>;
|
let fixture: ComponentFixture<ProjectCreateComponent>;
|
||||||
|
|
||||||
beforeEach(async(() => {
|
beforeEach(waitForAsync(() => {
|
||||||
TestBed.configureTestingModule({
|
TestBed.configureTestingModule({
|
||||||
declarations: [ProjectCreateComponent],
|
declarations: [ProjectCreateComponent],
|
||||||
})
|
})
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
|
import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing';
|
||||||
|
|
||||||
import { ProjectGrantCreateComponent } from './project-grant-create.component';
|
import { ProjectGrantCreateComponent } from './project-grant-create.component';
|
||||||
|
|
||||||
@ -6,7 +6,7 @@ describe('GrantCreateComponent', () => {
|
|||||||
let component: ProjectGrantCreateComponent;
|
let component: ProjectGrantCreateComponent;
|
||||||
let fixture: ComponentFixture<ProjectGrantCreateComponent>;
|
let fixture: ComponentFixture<ProjectGrantCreateComponent>;
|
||||||
|
|
||||||
beforeEach(async(() => {
|
beforeEach(waitForAsync(() => {
|
||||||
TestBed.configureTestingModule({
|
TestBed.configureTestingModule({
|
||||||
declarations: [ProjectGrantCreateComponent],
|
declarations: [ProjectGrantCreateComponent],
|
||||||
})
|
})
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
|
import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing';
|
||||||
|
|
||||||
import { ProjectRoleCreateComponent } from './project-role-create.component';
|
import { ProjectRoleCreateComponent } from './project-role-create.component';
|
||||||
|
|
||||||
@ -6,7 +6,7 @@ describe('ProjectRoleCreateComponent', () => {
|
|||||||
let component: ProjectRoleCreateComponent;
|
let component: ProjectRoleCreateComponent;
|
||||||
let fixture: ComponentFixture<ProjectRoleCreateComponent>;
|
let fixture: ComponentFixture<ProjectRoleCreateComponent>;
|
||||||
|
|
||||||
beforeEach(async(() => {
|
beforeEach(waitForAsync(() => {
|
||||||
TestBed.configureTestingModule({
|
TestBed.configureTestingModule({
|
||||||
declarations: [ProjectRoleCreateComponent],
|
declarations: [ProjectRoleCreateComponent],
|
||||||
})
|
})
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
|
import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing';
|
||||||
|
|
||||||
import { SignedoutComponent } from './signedout.component';
|
import { SignedoutComponent } from './signedout.component';
|
||||||
|
|
||||||
@ -6,7 +6,7 @@ describe('SignedoutComponent', () => {
|
|||||||
let component: SignedoutComponent;
|
let component: SignedoutComponent;
|
||||||
let fixture: ComponentFixture<SignedoutComponent>;
|
let fixture: ComponentFixture<SignedoutComponent>;
|
||||||
|
|
||||||
beforeEach(async(() => {
|
beforeEach(waitForAsync(() => {
|
||||||
TestBed.configureTestingModule({
|
TestBed.configureTestingModule({
|
||||||
declarations: [SignedoutComponent],
|
declarations: [SignedoutComponent],
|
||||||
})
|
})
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
|
import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing';
|
||||||
|
|
||||||
import { UserGrantCreateComponent } from './user-grant-create.component';
|
import { UserGrantCreateComponent } from './user-grant-create.component';
|
||||||
|
|
||||||
@ -6,7 +6,7 @@ describe('UserGrantCreateComponent', () => {
|
|||||||
let component: UserGrantCreateComponent;
|
let component: UserGrantCreateComponent;
|
||||||
let fixture: ComponentFixture<UserGrantCreateComponent>;
|
let fixture: ComponentFixture<UserGrantCreateComponent>;
|
||||||
|
|
||||||
beforeEach(async(() => {
|
beforeEach(waitForAsync(() => {
|
||||||
TestBed.configureTestingModule({
|
TestBed.configureTestingModule({
|
||||||
declarations: [UserGrantCreateComponent],
|
declarations: [UserGrantCreateComponent],
|
||||||
})
|
})
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
|
import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing';
|
||||||
|
|
||||||
import { UserCreateMachineComponent } from './user-create-machine.component';
|
import { UserCreateMachineComponent } from './user-create-machine.component';
|
||||||
|
|
||||||
@ -6,7 +6,7 @@ describe('UserCreateMachineComponent', () => {
|
|||||||
let component: UserCreateMachineComponent;
|
let component: UserCreateMachineComponent;
|
||||||
let fixture: ComponentFixture<UserCreateMachineComponent>;
|
let fixture: ComponentFixture<UserCreateMachineComponent>;
|
||||||
|
|
||||||
beforeEach(async(() => {
|
beforeEach(waitForAsync(() => {
|
||||||
TestBed.configureTestingModule({
|
TestBed.configureTestingModule({
|
||||||
declarations: [UserCreateMachineComponent],
|
declarations: [UserCreateMachineComponent],
|
||||||
})
|
})
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
|
import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing';
|
||||||
|
|
||||||
import { UserCreateComponent } from './user-create.component';
|
import { UserCreateComponent } from './user-create.component';
|
||||||
|
|
||||||
@ -6,7 +6,7 @@ describe('UserCreateComponent', () => {
|
|||||||
let component: UserCreateComponent;
|
let component: UserCreateComponent;
|
||||||
let fixture: ComponentFixture<UserCreateComponent>;
|
let fixture: ComponentFixture<UserCreateComponent>;
|
||||||
|
|
||||||
beforeEach(async(() => {
|
beforeEach(waitForAsync(() => {
|
||||||
TestBed.configureTestingModule({
|
TestBed.configureTestingModule({
|
||||||
declarations: [UserCreateComponent],
|
declarations: [UserCreateComponent],
|
||||||
})
|
})
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
|
import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing';
|
||||||
|
|
||||||
import { AuthUserDetailComponent } from './auth-user-detail.component';
|
import { AuthUserDetailComponent } from './auth-user-detail.component';
|
||||||
|
|
||||||
@ -6,7 +6,7 @@ describe('AuthUserDetailComponent', () => {
|
|||||||
let component: AuthUserDetailComponent;
|
let component: AuthUserDetailComponent;
|
||||||
let fixture: ComponentFixture<AuthUserDetailComponent>;
|
let fixture: ComponentFixture<AuthUserDetailComponent>;
|
||||||
|
|
||||||
beforeEach(async(() => {
|
beforeEach(waitForAsync(() => {
|
||||||
TestBed.configureTestingModule({
|
TestBed.configureTestingModule({
|
||||||
declarations: [AuthUserDetailComponent],
|
declarations: [AuthUserDetailComponent],
|
||||||
})
|
})
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
|
import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing';
|
||||||
|
|
||||||
import { AuthUserMfaComponent } from './auth-user-mfa.component';
|
import { AuthUserMfaComponent } from './auth-user-mfa.component';
|
||||||
|
|
||||||
@ -6,7 +6,7 @@ describe('AuthUserMfaComponent', () => {
|
|||||||
let component: AuthUserMfaComponent;
|
let component: AuthUserMfaComponent;
|
||||||
let fixture: ComponentFixture<AuthUserMfaComponent>;
|
let fixture: ComponentFixture<AuthUserMfaComponent>;
|
||||||
|
|
||||||
beforeEach(async(() => {
|
beforeEach(waitForAsync(() => {
|
||||||
TestBed.configureTestingModule({
|
TestBed.configureTestingModule({
|
||||||
declarations: [AuthUserMfaComponent],
|
declarations: [AuthUserMfaComponent],
|
||||||
})
|
})
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
|
import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing';
|
||||||
|
|
||||||
import { CodeDialogComponent } from './code-dialog.component';
|
import { CodeDialogComponent } from './code-dialog.component';
|
||||||
|
|
||||||
@ -6,7 +6,7 @@ describe('CodeDialogComponent', () => {
|
|||||||
let component: CodeDialogComponent;
|
let component: CodeDialogComponent;
|
||||||
let fixture: ComponentFixture<CodeDialogComponent>;
|
let fixture: ComponentFixture<CodeDialogComponent>;
|
||||||
|
|
||||||
beforeEach(async(() => {
|
beforeEach(waitForAsync(() => {
|
||||||
TestBed.configureTestingModule({
|
TestBed.configureTestingModule({
|
||||||
declarations: [CodeDialogComponent],
|
declarations: [CodeDialogComponent],
|
||||||
})
|
})
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
|
import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing';
|
||||||
|
|
||||||
import { ThemeSettingComponent } from './theme-setting.component';
|
import { ThemeSettingComponent } from './theme-setting.component';
|
||||||
|
|
||||||
@ -6,7 +6,7 @@ describe('ThemeSettingComponent', () => {
|
|||||||
let component: ThemeSettingComponent;
|
let component: ThemeSettingComponent;
|
||||||
let fixture: ComponentFixture<ThemeSettingComponent>;
|
let fixture: ComponentFixture<ThemeSettingComponent>;
|
||||||
|
|
||||||
beforeEach(async(() => {
|
beforeEach(waitForAsync(() => {
|
||||||
TestBed.configureTestingModule({
|
TestBed.configureTestingModule({
|
||||||
declarations: [ThemeSettingComponent],
|
declarations: [ThemeSettingComponent],
|
||||||
})
|
})
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
|
import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing';
|
||||||
|
|
||||||
import { DetailFormComponent } from './detail-form.component';
|
import { DetailFormComponent } from './detail-form.component';
|
||||||
|
|
||||||
@ -6,7 +6,7 @@ describe('DetailFormComponent', () => {
|
|||||||
let component: DetailFormComponent;
|
let component: DetailFormComponent;
|
||||||
let fixture: ComponentFixture<DetailFormComponent>;
|
let fixture: ComponentFixture<DetailFormComponent>;
|
||||||
|
|
||||||
beforeEach(async(() => {
|
beforeEach(waitForAsync(() => {
|
||||||
TestBed.configureTestingModule({
|
TestBed.configureTestingModule({
|
||||||
declarations: [DetailFormComponent],
|
declarations: [DetailFormComponent],
|
||||||
})
|
})
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
|
import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing';
|
||||||
|
|
||||||
import { DetailFormComponent } from './detail-form.component';
|
import { DetailFormComponent } from './detail-form.component';
|
||||||
|
|
||||||
@ -6,7 +6,7 @@ describe('DetailFormComponent', () => {
|
|||||||
let component: DetailFormComponent;
|
let component: DetailFormComponent;
|
||||||
let fixture: ComponentFixture<DetailFormComponent>;
|
let fixture: ComponentFixture<DetailFormComponent>;
|
||||||
|
|
||||||
beforeEach(async(() => {
|
beforeEach(waitForAsync(() => {
|
||||||
TestBed.configureTestingModule({
|
TestBed.configureTestingModule({
|
||||||
declarations: [DetailFormComponent],
|
declarations: [DetailFormComponent],
|
||||||
})
|
})
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
|
import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing';
|
||||||
|
|
||||||
import { ExternalIdpsComponent } from './external-idps.component';
|
import { ExternalIdpsComponent } from './external-idps.component';
|
||||||
|
|
||||||
@ -6,7 +6,7 @@ describe('ExternalIdpsComponent', () => {
|
|||||||
let component: ExternalIdpsComponent;
|
let component: ExternalIdpsComponent;
|
||||||
let fixture: ComponentFixture<ExternalIdpsComponent>;
|
let fixture: ComponentFixture<ExternalIdpsComponent>;
|
||||||
|
|
||||||
beforeEach(async(() => {
|
beforeEach(waitForAsync(() => {
|
||||||
TestBed.configureTestingModule({
|
TestBed.configureTestingModule({
|
||||||
declarations: [ ExternalIdpsComponent ],
|
declarations: [ ExternalIdpsComponent ],
|
||||||
})
|
})
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
|
import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing';
|
||||||
|
|
||||||
import { AddKeyDialogComponent } from './add-key-dialog.component';
|
import { AddKeyDialogComponent } from './add-key-dialog.component';
|
||||||
|
|
||||||
@ -6,7 +6,7 @@ describe('AddKeyDialogComponent', () => {
|
|||||||
let component: AddKeyDialogComponent;
|
let component: AddKeyDialogComponent;
|
||||||
let fixture: ComponentFixture<AddKeyDialogComponent>;
|
let fixture: ComponentFixture<AddKeyDialogComponent>;
|
||||||
|
|
||||||
beforeEach(async(() => {
|
beforeEach(waitForAsync(() => {
|
||||||
TestBed.configureTestingModule({
|
TestBed.configureTestingModule({
|
||||||
declarations: [AddKeyDialogComponent],
|
declarations: [AddKeyDialogComponent],
|
||||||
})
|
})
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
import { Component, Inject, OnInit } from '@angular/core';
|
import { Component, Inject } from '@angular/core';
|
||||||
import { MAT_DIALOG_DATA, MatDialogRef } from '@angular/material/dialog';
|
import { MAT_DIALOG_DATA, MatDialogRef } from '@angular/material/dialog';
|
||||||
|
import { Moment } from 'moment';
|
||||||
import { MachineKeyType } from 'src/app/proto/generated/management_pb';
|
import { MachineKeyType } from 'src/app/proto/generated/management_pb';
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
@ -7,11 +8,11 @@ import { MachineKeyType } from 'src/app/proto/generated/management_pb';
|
|||||||
templateUrl: './add-key-dialog.component.html',
|
templateUrl: './add-key-dialog.component.html',
|
||||||
styleUrls: ['./add-key-dialog.component.scss'],
|
styleUrls: ['./add-key-dialog.component.scss'],
|
||||||
})
|
})
|
||||||
export class AddKeyDialogComponent implements OnInit {
|
export class AddKeyDialogComponent {
|
||||||
types: MachineKeyType[] = [
|
types: MachineKeyType[] = [
|
||||||
MachineKeyType.MACHINEKEY_JSON,
|
MachineKeyType.MACHINEKEY_JSON,
|
||||||
];
|
];
|
||||||
date: any;
|
date!: Moment;
|
||||||
public type: MachineKeyType = MachineKeyType.MACHINEKEY_JSON;
|
public type: MachineKeyType = MachineKeyType.MACHINEKEY_JSON;
|
||||||
|
|
||||||
constructor(
|
constructor(
|
||||||
@ -19,9 +20,6 @@ export class AddKeyDialogComponent implements OnInit {
|
|||||||
@Inject(MAT_DIALOG_DATA) public data: any,
|
@Inject(MAT_DIALOG_DATA) public data: any,
|
||||||
) { }
|
) { }
|
||||||
|
|
||||||
ngOnInit(): void {
|
|
||||||
}
|
|
||||||
|
|
||||||
public closeDialog(): void {
|
public closeDialog(): void {
|
||||||
this.dialogRef.close(false);
|
this.dialogRef.close(false);
|
||||||
}
|
}
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
import { CommonModule } from '@angular/common';
|
import { CommonModule } from '@angular/common';
|
||||||
import { NgModule } from '@angular/core';
|
import { NgModule } from '@angular/core';
|
||||||
import { FormsModule } from '@angular/forms';
|
import { FormsModule } from '@angular/forms';
|
||||||
|
import { MatMomentDateModule } from '@angular/material-moment-adapter';
|
||||||
import { MatButtonModule } from '@angular/material/button';
|
import { MatButtonModule } from '@angular/material/button';
|
||||||
import { MatDatepickerModule } from '@angular/material/datepicker';
|
import { MatDatepickerModule } from '@angular/material/datepicker';
|
||||||
import { MatFormFieldModule } from '@angular/material/form-field';
|
import { MatFormFieldModule } from '@angular/material/form-field';
|
||||||
@ -23,6 +24,7 @@ import { AddKeyDialogComponent } from './add-key-dialog.component';
|
|||||||
MatIconModule,
|
MatIconModule,
|
||||||
FormsModule,
|
FormsModule,
|
||||||
MatDatepickerModule,
|
MatDatepickerModule,
|
||||||
|
MatMomentDateModule,
|
||||||
],
|
],
|
||||||
})
|
})
|
||||||
export class AddKeyDialogModule { }
|
export class AddKeyDialogModule { }
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
|
import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing';
|
||||||
|
|
||||||
import { MachineKeysComponent } from './machine-keys.component';
|
import { MachineKeysComponent } from './machine-keys.component';
|
||||||
|
|
||||||
@ -6,7 +6,7 @@ describe('MachineKeysComponent', () => {
|
|||||||
let component: MachineKeysComponent;
|
let component: MachineKeysComponent;
|
||||||
let fixture: ComponentFixture<MachineKeysComponent>;
|
let fixture: ComponentFixture<MachineKeysComponent>;
|
||||||
|
|
||||||
beforeEach(async(() => {
|
beforeEach(waitForAsync(() => {
|
||||||
TestBed.configureTestingModule({
|
TestBed.configureTestingModule({
|
||||||
declarations: [MachineKeysComponent],
|
declarations: [MachineKeysComponent],
|
||||||
})
|
})
|
||||||
|
@ -5,6 +5,7 @@ import { MatPaginator, PageEvent } from '@angular/material/paginator';
|
|||||||
import { MatTableDataSource } from '@angular/material/table';
|
import { MatTableDataSource } from '@angular/material/table';
|
||||||
import { TranslateService } from '@ngx-translate/core';
|
import { TranslateService } from '@ngx-translate/core';
|
||||||
import { Timestamp } from 'google-protobuf/google/protobuf/timestamp_pb';
|
import { Timestamp } from 'google-protobuf/google/protobuf/timestamp_pb';
|
||||||
|
import { Moment } from 'moment';
|
||||||
import { BehaviorSubject, Observable } from 'rxjs';
|
import { BehaviorSubject, Observable } from 'rxjs';
|
||||||
import { MachineKeySearchResponse, MachineKeyType, MachineKeyView } from 'src/app/proto/generated/management_pb';
|
import { MachineKeySearchResponse, MachineKeyType, MachineKeyView } from 'src/app/proto/generated/management_pb';
|
||||||
import { ManagementService } from 'src/app/services/mgmt.service';
|
import { ManagementService } from 'src/app/services/mgmt.service';
|
||||||
@ -84,10 +85,10 @@ export class MachineKeysComponent implements OnInit {
|
|||||||
|
|
||||||
let date: Timestamp | undefined;
|
let date: Timestamp | undefined;
|
||||||
|
|
||||||
if (resp.date as Date) {
|
if (resp.date as Moment) {
|
||||||
const ts = new Timestamp();
|
const ts = new Timestamp();
|
||||||
|
console.log(resp.date.toDate().getTime());
|
||||||
const milliseconds = resp.date.getTime();
|
const milliseconds = resp.date.toDate().getTime();
|
||||||
const seconds = Math.abs(milliseconds / 1000);
|
const seconds = Math.abs(milliseconds / 1000);
|
||||||
const nanos = (milliseconds - seconds * 1000) * 1000 * 1000;
|
const nanos = (milliseconds - seconds * 1000) * 1000 * 1000;
|
||||||
ts.setSeconds(seconds);
|
ts.setSeconds(seconds);
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
|
import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing';
|
||||||
|
|
||||||
import { ShowKeyDialogComponent } from './show-key-dialog.component';
|
import { ShowKeyDialogComponent } from './show-key-dialog.component';
|
||||||
|
|
||||||
@ -6,7 +6,7 @@ describe('ShowKeyDialogComponent', () => {
|
|||||||
let component: ShowKeyDialogComponent;
|
let component: ShowKeyDialogComponent;
|
||||||
let fixture: ComponentFixture<ShowKeyDialogComponent>;
|
let fixture: ComponentFixture<ShowKeyDialogComponent>;
|
||||||
|
|
||||||
beforeEach(async(() => {
|
beforeEach(waitForAsync(() => {
|
||||||
TestBed.configureTestingModule({
|
TestBed.configureTestingModule({
|
||||||
declarations: [ShowKeyDialogComponent],
|
declarations: [ShowKeyDialogComponent],
|
||||||
})
|
})
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
|
import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing';
|
||||||
|
|
||||||
import { MembershipDetailComponent } from './membership-detail.component';
|
import { MembershipDetailComponent } from './membership-detail.component';
|
||||||
|
|
||||||
@ -6,7 +6,7 @@ describe('MembershipDetailComponent', () => {
|
|||||||
let component: MembershipDetailComponent;
|
let component: MembershipDetailComponent;
|
||||||
let fixture: ComponentFixture<MembershipDetailComponent>;
|
let fixture: ComponentFixture<MembershipDetailComponent>;
|
||||||
|
|
||||||
beforeEach(async(() => {
|
beforeEach(waitForAsync(() => {
|
||||||
TestBed.configureTestingModule({
|
TestBed.configureTestingModule({
|
||||||
declarations: [MembershipDetailComponent],
|
declarations: [MembershipDetailComponent],
|
||||||
})
|
})
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
|
import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing';
|
||||||
|
|
||||||
import { MembershipsComponent } from './memberships.component';
|
import { MembershipsComponent } from './memberships.component';
|
||||||
|
|
||||||
@ -6,7 +6,7 @@ describe('MembershipsComponent', () => {
|
|||||||
let component: MembershipsComponent;
|
let component: MembershipsComponent;
|
||||||
let fixture: ComponentFixture<MembershipsComponent>;
|
let fixture: ComponentFixture<MembershipsComponent>;
|
||||||
|
|
||||||
beforeEach(async(() => {
|
beforeEach(waitForAsync(() => {
|
||||||
TestBed.configureTestingModule({
|
TestBed.configureTestingModule({
|
||||||
declarations: [MembershipsComponent],
|
declarations: [MembershipsComponent],
|
||||||
})
|
})
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
|
import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing';
|
||||||
|
|
||||||
import { PasswordComponent } from './password.component';
|
import { PasswordComponent } from './password.component';
|
||||||
|
|
||||||
@ -6,7 +6,7 @@ describe('PasswordComponent', () => {
|
|||||||
let component: PasswordComponent;
|
let component: PasswordComponent;
|
||||||
let fixture: ComponentFixture<PasswordComponent>;
|
let fixture: ComponentFixture<PasswordComponent>;
|
||||||
|
|
||||||
beforeEach(async(() => {
|
beforeEach(waitForAsync(() => {
|
||||||
TestBed.configureTestingModule({
|
TestBed.configureTestingModule({
|
||||||
declarations: [PasswordComponent],
|
declarations: [PasswordComponent],
|
||||||
}).compileComponents();
|
}).compileComponents();
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
|
import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing';
|
||||||
|
|
||||||
import { UserDetailComponent } from './user-detail.component';
|
import { UserDetailComponent } from './user-detail.component';
|
||||||
|
|
||||||
@ -6,7 +6,7 @@ describe('UserDetailComponent', () => {
|
|||||||
let component: UserDetailComponent;
|
let component: UserDetailComponent;
|
||||||
let fixture: ComponentFixture<UserDetailComponent>;
|
let fixture: ComponentFixture<UserDetailComponent>;
|
||||||
|
|
||||||
beforeEach(async(() => {
|
beforeEach(waitForAsync(() => {
|
||||||
TestBed.configureTestingModule({
|
TestBed.configureTestingModule({
|
||||||
declarations: [UserDetailComponent],
|
declarations: [UserDetailComponent],
|
||||||
}).compileComponents();
|
}).compileComponents();
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
|
import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing';
|
||||||
|
|
||||||
import { UserMfaComponent } from './user-mfa.component';
|
import { UserMfaComponent } from './user-mfa.component';
|
||||||
|
|
||||||
@ -6,7 +6,7 @@ describe('UserMfaComponent', () => {
|
|||||||
let component: UserMfaComponent;
|
let component: UserMfaComponent;
|
||||||
let fixture: ComponentFixture<UserMfaComponent>;
|
let fixture: ComponentFixture<UserMfaComponent>;
|
||||||
|
|
||||||
beforeEach(async(() => {
|
beforeEach(waitForAsync(() => {
|
||||||
TestBed.configureTestingModule({
|
TestBed.configureTestingModule({
|
||||||
declarations: [UserMfaComponent],
|
declarations: [UserMfaComponent],
|
||||||
})
|
})
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
|
import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing';
|
||||||
|
|
||||||
import { UserListComponent } from './user-list.component';
|
import { UserListComponent } from './user-list.component';
|
||||||
|
|
||||||
@ -6,7 +6,7 @@ describe('UserListComponent', () => {
|
|||||||
let component: UserListComponent;
|
let component: UserListComponent;
|
||||||
let fixture: ComponentFixture<UserListComponent>;
|
let fixture: ComponentFixture<UserListComponent>;
|
||||||
|
|
||||||
beforeEach(async(() => {
|
beforeEach(waitForAsync(() => {
|
||||||
TestBed.configureTestingModule({
|
TestBed.configureTestingModule({
|
||||||
declarations: [UserListComponent],
|
declarations: [UserListComponent],
|
||||||
})
|
})
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
|
import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing';
|
||||||
|
|
||||||
import { UserTableComponent } from './user-table.component';
|
import { UserTableComponent } from './user-table.component';
|
||||||
|
|
||||||
@ -6,7 +6,7 @@ describe('UserTableComponent', () => {
|
|||||||
let component: UserTableComponent;
|
let component: UserTableComponent;
|
||||||
let fixture: ComponentFixture<UserTableComponent>;
|
let fixture: ComponentFixture<UserTableComponent>;
|
||||||
|
|
||||||
beforeEach(async(() => {
|
beforeEach(waitForAsync(() => {
|
||||||
TestBed.configureTestingModule({
|
TestBed.configureTestingModule({
|
||||||
declarations: [UserTableComponent],
|
declarations: [UserTableComponent],
|
||||||
})
|
})
|
||||||
|
@ -1,6 +1,5 @@
|
|||||||
import { CommonModule } from '@angular/common';
|
import { CommonModule } from '@angular/common';
|
||||||
import { NgModule } from '@angular/core';
|
import { NgModule } from '@angular/core';
|
||||||
import { MomentModule } from 'ngx-moment';
|
|
||||||
|
|
||||||
import { LocalizedDatePipe } from './localized-date.pipe';
|
import { LocalizedDatePipe } from './localized-date.pipe';
|
||||||
|
|
||||||
@ -11,7 +10,6 @@ import { LocalizedDatePipe } from './localized-date.pipe';
|
|||||||
],
|
],
|
||||||
imports: [
|
imports: [
|
||||||
CommonModule,
|
CommonModule,
|
||||||
MomentModule,
|
|
||||||
],
|
],
|
||||||
exports: [
|
exports: [
|
||||||
LocalizedDatePipe,
|
LocalizedDatePipe,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user