Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
imports: [
CommonModule,
CoreModule,
BrowserAnimationsModule
]
})
.compileComponents();
}));
beforeEach(() => {
fixture = TestBed.createComponent(DetailsCardComponent);
component = fixture.componentInstance;
fixture.detectChanges();
});
it('should be created', () => {
expect(component).toBeTruthy();
});
});
describe('MbToHumanSizePipe', () => {
let pipe;
beforeEach(() => TestBed.configureTestingModule({
providers: [
MbToHumanSizePipe,
UtilsService
]
}));
beforeEach(inject([MbToHumanSizePipe], p => {
pipe = p;
}));
it('create an instance', () => {
expect(pipe).toBeTruthy();
});
});
beforeEach(() => {
TestBed.configureTestingModule({
providers: [
CfAppConfigService,
DatePipe
],
imports: [
CommonModule,
CoreModule,
SharedModule,
createBasicStoreModule()
]
});
});
it('should be created', inject([CfAppConfigService], (service: CfAppConfigService) => {
expect(service).toBeTruthy();
}));
});
describe('EndpointsListConfigService', () => {
beforeEach(() => {
TestBed.configureTestingModule({
providers: [EndpointsListConfigService],
imports: [
CommonModule,
CoreModule,
SharedModule,
createBasicStoreModule()
]
});
});
it('should be created', inject([EndpointsListConfigService], (service: EndpointsListConfigService) => {
expect(service).toBeTruthy();
}));
});
MDAppModule,
RouterTestingModule,
CommonModule,
CoreModule
]
})
.compileComponents();
}));
beforeEach(() => {
fixture = TestBed.createComponent(SteppersComponent);
component = fixture.componentInstance;
fixture.detectChanges();
});
it('should be created', () => {
expect(component).toBeTruthy();
});
});
ApplicationSchema,
new GetApplication(appGuid, cfGuid)
),
generateTestApplicationServiceProvider(appGuid, cfGuid)
],
imports: [
CommonModule,
CoreModule,
SharedModule,
ApplicationsModule,
createBasicStoreModule()
]
});
});
it('should be created', inject([CfAppEventsConfigService], (service: CfAppEventsConfigService) => {
expect(service).toBeTruthy();
}));
});
ApplicationSchema,
new GetApplication(appGuid, cfGuid)
),
generateTestApplicationServiceProvider(appGuid, cfGuid)
],
imports: [
CommonModule,
CoreModule,
SharedModule,
createBasicStoreModule(),
ApplicationsModule
]
});
});
it('should be created', inject(
[CfAppVariablesListConfigService],
(service: CfAppVariablesListConfigService) => {
expect(service).toBeTruthy();
}));
});
CommonModule,
CoreModule,
BrowserAnimationsModule
],
declarations: [DialogErrorComponent]
})
.compileComponents();
}));
beforeEach(() => {
fixture = TestBed.createComponent(DialogErrorComponent);
component = fixture.componentInstance;
fixture.detectChanges();
});
it('should be created', () => {
expect(component).toBeTruthy();
});
});
TestBed.configureTestingModule({
declarations: [StatefulIconComponent],
imports: [
MDAppModule
]
})
.compileComponents();
}));
beforeEach(() => {
fixture = TestBed.createComponent(StatefulIconComponent);
component = fixture.componentInstance;
fixture.detectChanges();
});
it('should be created', () => {
expect(component).toBeTruthy();
});
});
],
imports: [
CommonModule,
CoreModule,
]
})
.compileComponents();
}));
beforeEach(() => {
fixture = TestBed.createComponent(EditableDisplayValueComponent);
component = fixture.componentInstance;
fixture.detectChanges();
});
it('should be created', () => {
expect(component).toBeTruthy();
});
});