本文整理汇总了TypeScript中ngx-bootstrap.TabsModule类的典型用法代码示例。如果您正苦于以下问题:TypeScript TabsModule类的具体用法?TypeScript TabsModule怎么用?TypeScript TabsModule使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
在下文中一共展示了TabsModule类的10个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的TypeScript代码示例。
示例1: async
async(() => {
TestBed.configureTestingModule({
imports: [
CoreModule.forRoot(),
ApiModule.forRoot(),
CommonModule,
FormsModule,
RouterTestingModule.withRoutes([]),
ConnectionsModule,
ModalModule.forRoot(),
TabsModule.forRoot(),
PopoverModule.forRoot(),
CollapseModule.forRoot(),
SyndesisCommonModule.forRoot(),
IntegrationSupportModule,
CollapseModule
],
declarations: [FlowViewComponent, FlowViewStepComponent],
providers: [
CurrentFlowService,
FlowPageService,
IntegrationStore,
IntegrationService,
EventsService,
StepStore
]
}).compileComponents();
})
示例2: describe
describe('MirroringComponent', () => {
let component: MirroringComponent;
let fixture: ComponentFixture<MirroringComponent>;
configureTestBed({
declarations: [MirroringComponent, MirrorHealthColorPipe],
imports: [
SharedModule,
BsDropdownModule.forRoot(),
TabsModule.forRoot(),
ProgressbarModule.forRoot(),
HttpClientTestingModule
]
});
beforeEach(() => {
fixture = TestBed.createComponent(MirroringComponent);
component = fixture.componentInstance;
fixture.detectChanges();
});
it('should create', () => {
expect(component).toBeTruthy();
});
});
示例3: describe
describe('RgwBucketListComponent', () => {
let component: RgwBucketListComponent;
let fixture: ComponentFixture<RgwBucketListComponent>;
configureTestBed({
declarations: [RgwBucketListComponent, RgwBucketDetailsComponent],
imports: [
RouterTestingModule,
ModalModule.forRoot(),
SharedModule,
TabsModule.forRoot(),
HttpClientTestingModule
],
providers: [RgwBucketService]
});
beforeEach(() => {
fixture = TestBed.createComponent(RgwBucketListComponent);
component = fixture.componentInstance;
fixture.detectChanges();
});
it('should create', () => {
expect(component).toBeTruthy();
});
});
示例4: describe
describe('CephfsDetailComponent', () => {
let component: CephfsDetailComponent;
let fixture: ComponentFixture<CephfsDetailComponent>;
configureTestBed({
imports: [
SharedModule,
ChartsModule,
RouterTestingModule,
BsDropdownModule.forRoot(),
ProgressbarModule.forRoot(),
TabsModule.forRoot(),
HttpClientTestingModule
],
declarations: [CephfsDetailComponent, CephfsChartStubComponent, CephfsClientsStubComponent],
providers: [CephfsService]
});
beforeEach(() => {
fixture = TestBed.createComponent(CephfsDetailComponent);
component = fixture.componentInstance;
fixture.detectChanges();
});
it('should create', () => {
expect(component).toBeTruthy();
});
});
示例5: describe
describe('RbdListComponent', () => {
let component: RbdListComponent;
let fixture: ComponentFixture<RbdListComponent>;
configureTestBed({
imports: [
SharedModule,
BsDropdownModule.forRoot(),
TabsModule.forRoot(),
ModalModule.forRoot(),
TooltipModule.forRoot(),
ToastModule.forRoot(),
AlertModule.forRoot(),
ComponentsModule,
RouterTestingModule,
HttpClientTestingModule
],
declarations: [RbdListComponent, RbdDetailsComponent, RbdSnapshotListComponent]
});
beforeEach(() => {
fixture = TestBed.createComponent(RbdListComponent);
component = fixture.componentInstance;
fixture.detectChanges();
});
it('should create', () => {
expect(component).toBeTruthy();
});
});
示例6: describe
describe('OsdDetailsComponent', () => {
let component: OsdDetailsComponent;
let fixture: ComponentFixture<OsdDetailsComponent>;
configureTestBed({
imports: [
HttpClientModule,
TabsModule.forRoot(),
PerformanceCounterModule,
DataTableModule,
SharedModule
],
declarations: [OsdDetailsComponent, OsdPerformanceHistogramComponent]
});
beforeEach(() => {
fixture = TestBed.createComponent(OsdDetailsComponent);
component = fixture.componentInstance;
component.selection = new CdTableSelection();
fixture.detectChanges();
});
it('should create', () => {
expect(component).toBeTruthy();
});
});
示例7: beforeEach
beforeEach(async(() => {
TestBed.configureTestingModule({
imports: [
CommonModule,
HttpModule,
FormsModule,
ModalModule,
// StackLevelModule,
// ComponentLevelModule,
FeedbackModule,
PipelineInsightsModule,
AccordionModule.forRoot(),
TabsModule.forRoot(),
...revampImports
],
declarations: [
StackDetailsComponent
],
providers: [
Broadcaster,
ApiLocatorService,
witApiUrlProvider,
authApiUrlProvider,
ssoApiUrlProvider,
realmProvider,
{
provide: AuthenticationService, useClass: MockAuthenticationService
},
Contexts
]
}).compileComponents();
}));
示例8: beforeEach
beforeEach(async(() => {
TestBed.configureTestingModule({
imports: [
ActionModule,
CardModule,
EmptyStateModule,
FilterModule,
ListModule,
NotificationModule,
SortModule,
TableModule,
WizardModule,
HttpModule,
TabsModule.forRoot()
],
declarations: [
EditorViewsComponent,
MessageLogComponent,
ViewPreviewComponent
],
providers: [
{ provide: AppSettingsService, useClass: MockAppSettingsService },
{ provide: DataserviceService, useClass: MockDataserviceService },
LoggerService,
NotifierService,
SelectionService,
{ provide: VdbService, useClass: MockVdbService },
ViewEditorService
]
})
.compileComponents().then(() => {
// nothing to do
});
}));
示例9: beforeEach
beforeEach(async(() => {
TestBed.configureTestingModule({
declarations: [ RbdDetailsComponent, RbdSnapshotListComponent ],
imports: [ SharedModule, TabsModule.forRoot(), TooltipModule.forRoot(), ]
})
.compileComponents();
}));
示例10: beforeEach
beforeEach(async(() => {
TestBed.configureTestingModule({
imports: [
SharedModule,
ToastModule.forRoot(),
TabsModule.forRoot(),
RouterTestingModule,
HttpClientTestingModule
],
declarations: [RoleDetailsComponent]
}).compileComponents();
}));