本文整理汇总了TypeScript中ngx-bootstrap/progressbar.ProgressbarModule类的典型用法代码示例。如果您正苦于以下问题:TypeScript ProgressbarModule类的具体用法?TypeScript ProgressbarModule怎么用?TypeScript ProgressbarModule使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
在下文中一共展示了ProgressbarModule类的3个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的TypeScript代码示例。
示例1: describe
describe('CephfsDetailComponent', () => {
let component: CephfsDetailComponent;
let fixture: ComponentFixture<CephfsDetailComponent>;
configureTestBed({
imports: [
SharedModule,
RouterTestingModule,
BsDropdownModule.forRoot(),
ProgressbarModule.forRoot(),
TabsModule.forRoot(),
HttpClientTestingModule
],
declarations: [CephfsDetailComponent, CephfsChartStubComponent, CephfsClientsStubComponent],
providers: i18nProviders
});
beforeEach(() => {
fixture = TestBed.createComponent(CephfsDetailComponent);
component = fixture.componentInstance;
fixture.detectChanges();
});
it('should create', () => {
expect(component).toBeTruthy();
});
});
示例2: describe
describe('ImageListComponent', () => {
let component: ImageListComponent;
let fixture: ComponentFixture<ImageListComponent>;
configureTestBed({
declarations: [ImageListComponent, MirrorHealthColorPipe],
imports: [
SharedModule,
BsDropdownModule.forRoot(),
TabsModule.forRoot(),
ProgressbarModule.forRoot(),
HttpClientTestingModule
],
providers: i18nProviders
});
beforeEach(() => {
fixture = TestBed.createComponent(ImageListComponent);
component = fixture.componentInstance;
fixture.detectChanges();
});
it('should create', () => {
expect(component).toBeTruthy();
});
});
示例3: async
async(() => {
TestBed.configureTestingModule({
declarations: [MirroringComponent, MirrorHealthColorPipe],
imports: [
SharedModule,
BsDropdownModule.forRoot(),
TabsModule.forRoot(),
ProgressbarModule.forRoot(),
HttpClientTestingModule
],
providers: [{ provide: RbdMirroringService, useValue: fakeService }]
}).compileComponents();
})