Skip to content

Commit c4d316c

Browse files
committed
chore(*): seeing if tabs and bottom nav need to be reverted
1 parent 95bb953 commit c4d316c

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

projects/igniteui-angular/src/lib/tabs/bottom-nav/bottom-nav.component.spec.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,10 @@ import { IgxBottomNavComponent, IgxBottomNavItemComponent } from './public_api';
1515
import { UIInteractions } from '../../test-utils/ui-interactions.spec';
1616
import { RoutingTestGuard } from '../../test-utils/routing-test-guard.spec';
1717
import { RoutingView1Component, RoutingView2Component, RoutingView3Component, RoutingView4Component, RoutingView5Component } from '../../test-utils/routing-view-components.spec';
18+
import { configureTestSuite } from '../../test-utils/configure-suite';
1819

1920
describe('IgxBottomNav', () => {
21+
configureTestSuite();
2022

2123
const tabItemNormalCssClass = 'igx-bottom-nav__menu-item';
2224
const tabItemSelectedCssClass = 'igx-bottom-nav__menu-item--selected';
@@ -28,7 +30,7 @@ describe('IgxBottomNav', () => {
2830
{ path: 'view5', component: RoutingView5Component, canActivate: [RoutingTestGuard] },
2931
];
3032

31-
beforeEach(waitForAsync(() => {
33+
beforeAll(waitForAsync(() => {
3234
TestBed.configureTestingModule({
3335
imports: [
3436
NoopAnimationsModule,

projects/igniteui-angular/src/lib/tabs/tabs/tabs.component.spec.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ import { UIInteractions, wait } from '../../test-utils/ui-interactions.spec';
1919
import { IgxTabContentComponent } from './tab-content.component';
2020
import { RoutingTestGuard } from '../../test-utils/routing-test-guard.spec';
2121
import { RoutingView1Component, RoutingView2Component, RoutingView3Component, RoutingView4Component, RoutingView5Component } from '../../test-utils/routing-view-components.spec';
22+
import { configureTestSuite } from '../../test-utils/configure-suite';
2223

2324
const KEY_RIGHT_EVENT = new KeyboardEvent('keydown', { key: 'ArrowRight', bubbles: true });
2425
const KEY_LEFT_EVENT = new KeyboardEvent('keydown', { key: 'ArrowLeft', bubbles: true });
@@ -28,6 +29,7 @@ const KEY_ENTER_EVENT = new KeyboardEvent('keydown', { key: 'Enter', bubbles: tr
2829
const KEY_SPACE_EVENT = new KeyboardEvent('keydown', { key: ' ', bubbles: true });
2930

3031
describe('IgxTabs', () => {
32+
configureTestSuite();
3133

3234
const tabItemNormalCssClass = 'igx-tabs__header-item';
3335
const tabItemSelectedCssClass = 'igx-tabs__header-item--selected';
@@ -40,7 +42,7 @@ describe('IgxTabs', () => {
4042
{ path: 'view5', component: RoutingView5Component, canActivate: [RoutingTestGuard] }
4143
];
4244

43-
beforeEach(waitForAsync(() => {
45+
beforeAll(waitForAsync(() => {
4446
TestBed.configureTestingModule({
4547
imports: [
4648
NoopAnimationsModule,

0 commit comments

Comments
 (0)