本文整理匯總了TypeScript中ngx-bootstrap.TabsModule.forRoot方法的典型用法代碼示例。如果您正苦於以下問題:TypeScript TabsModule.forRoot方法的具體用法?TypeScript TabsModule.forRoot怎麽用?TypeScript TabsModule.forRoot使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類ngx-bootstrap.TabsModule
的用法示例。
在下文中一共展示了TabsModule.forRoot方法的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();
}));