Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
43 commits
Select commit Hold shift + click to select a range
1d1a881
refactor(tests): removing configureTestSuite()
Mar 28, 2025
2de203d
Merge branch 'master' into tests-refactor
Mar 28, 2025
caf4125
refactor(tests): removing some other configureTestSuite() calls
Mar 28, 2025
95bb953
Merge branch 'tests-refactor' of https://github.com/IgniteUI/igniteui…
Mar 28, 2025
c4d316c
chore(*): seeing if tabs and bottom nav need to be reverted
Mar 28, 2025
d54028f
refactor(test): qb tests running on a beforeEach setup
Mar 28, 2025
030ef06
refactor(tests): tabs and bottom nav tests
Mar 28, 2025
df505ea
refactor(tests): drag and drop tests
Mar 28, 2025
4455244
chore(*): adding some comp selectors
Mar 28, 2025
9e27225
Merge branch 'master' into tests-refactor
Apr 2, 2025
544bbdc
chore(*): updating depedencies
Apr 3, 2025
1cbd035
chore(*): updating depdencies
Apr 3, 2025
44affb3
Merge branch 'master' into tests-refactor
Apr 7, 2025
1625a15
chore(*): reworking cg and cm tests
Apr 7, 2025
ff6398b
chore(*): removing more configureTestSuite
Apr 7, 2025
b8190cc
chore(*): removing all calls to configureTestSuite()
Apr 7, 2025
dc57672
chore(*): adding jasmine allowRespy(true)
Apr 7, 2025
f11f36a
chore(*): adding a missing detectChanges()
Apr 7, 2025
9502b09
chore(*): fixing leaking tests because of component ids
Apr 9, 2025
d2ead3c
test(progress, toast): detectChanges() after id change
Apr 9, 2025
8c75e19
chore(*): adding assets to tests
Apr 9, 2025
702231c
Merge branch 'master' into tests-refactor
Apr 9, 2025
287f9e7
chore(*): removing assets folder from src in tests
Apr 16, 2025
a67e121
Merge branch 'master' of https://github.com/IgniteUI/igniteui-angular…
Apr 16, 2025
e9b1954
fix(15674): ESF to show unique time values (#15715)
gedinakova Apr 17, 2025
01141c9
fix(input): fluent theme updates (#15725)
SisIvanova Apr 17, 2025
272826a
Merge branch 'master' into tests-refactor
Apr 24, 2025
f84d203
Update README.md
radomirchev Apr 24, 2025
4a1007e
chore(*): adding test assets
Apr 24, 2025
b325a59
Merge pull request #15752 from IgniteUI/chore()-update-readme-19.2
Apr 28, 2025
723288f
Merge branch 'master' into tests-refactor
Apr 28, 2025
5a22417
chore(*): fixing combo tests
Apr 28, 2025
da3972f
Print row dimensions to CSV properly. (#15747)
gedinakova Apr 28, 2025
673a925
Merge branch 'master' into tests-refactor
Apr 28, 2025
dce9df5
chore(*): fixing more tests
Apr 28, 2025
dd92df4
Merge branch 'tests-refactor' of https://github.com/IgniteUI/igniteui…
Apr 28, 2025
864cec2
chore(*): returning root ids to what they should be
Apr 28, 2025
b849983
chore(*): fixing 2 failing tests
Apr 29, 2025
e02e415
chore(*): fixing 3 more tests
Apr 29, 2025
b4c8b5b
test(grid filtering): fixing a condition for size
Apr 29, 2025
746c537
chore(*): temporarily xit-ing test
Apr 29, 2025
1fd007c
test(filtering): header was not wide enough to render chip
Apr 29, 2025
f66caa5
Merge branch '19.2.x' into tests-refactor
damyanpetev Apr 29, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@ Some of the Angular chart types included are: [Polar chart](https://www.infragis
|stepper|:white_check_mark:|[Readme](https://github.com/IgniteUI/igniteui-angular/blob/master/projects/igniteui-angular/src/lib/stepper/README.md)|[Docs](https://www.infragistics.com/products/ignite-ui-angular/angular/components/stepper)|13.0.0|
|switch|:white_check_mark:|[Readme](https://github.com/IgniteUI/igniteui-angular/blob/master/projects/igniteui-angular/src/lib/switch/README.md)|[Docs](https://www.infragistics.com/products/ignite-ui-angular/angular/components/switch)|2.0.0|||||
|tabs|:white_check_mark:|[Readme](https://github.com/IgniteUI/igniteui-angular/blob/master/projects/igniteui-angular/src/lib/tabs/tabs/README.md)|[Docs](https://www.infragistics.com/products/ignite-ui-angular/angular/components/tabs)|5.1.0||||
|tile manager|:white_check_mark:||[Docs](https://www.infragistics.com/products/ignite-ui-angular/angular/components/tile-manager)|19.2.0||||
|time picker|:white_check_mark:|[Readme](https://github.com/IgniteUI/igniteui-angular/blob/master/projects/igniteui-angular/src/lib/time-picker/README.md)|[Docs](https://www.infragistics.com/products/ignite-ui-angular/angular/components/time-picker)|5.3.0||||
|toast|:white_check_mark:|[Readme](https://github.com/IgniteUI/igniteui-angular/blob/master/projects/igniteui-angular/src/lib/toast/README.md)|[Docs](https://www.infragistics.com/products/ignite-ui-angular/angular/components/toast)|5.1.0||||
|tree|:white_check_mark:|[Readme](https://github.com/IgniteUI/igniteui-angular/blob/master/projects/igniteui-angular/src/lib/tree/README.md)|[Docs](https://www.infragistics.com/products/ignite-ui-angular/angular/components/tree)|12.0.0||||
Expand Down Expand Up @@ -162,6 +163,8 @@ Some of the Angular chart types included are: [Polar chart](https://www.infragis
|18.1.0|22-Jul-24|[Milestone #33](https://github.com/IgniteUI/igniteui-angular/blob/master/ROADMAP.md#milestone-33-due-by-jul-2024)|
|18.2.0|25-Oct-24|[Milestone #34](https://github.com/IgniteUI/igniteui-angular/blob/master/ROADMAP.md#milestone-34-version-182-released-oct-25th-2024)|
|19.0.0|25-Nov-24|[Milestone #35](https://github.com/IgniteUI/igniteui-angular/blob/master/ROADMAP.md#milestone-35-version-190-released-nov-25th-2024)|
|19.1.0|27-Feb-25|[Milestone #36](https://github.com/IgniteUI/igniteui-angular/blob/master/ROADMAP.md#milestone-36--version-191-released-feb-27th-2025)|
|19.2.0|16-Apr-25|[Milestone #37]()|


### Components available in [igniteui-angular-charts](https://www.npmjs.com/package/igniteui-angular-charts)
Expand Down
11 changes: 11 additions & 0 deletions angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,17 @@
"zone.js/testing",
"hammerjs"
],
"styles": [
"src/styles/styles.scss"
],
"assets": [
"projects/igniteui-angular/src/assets"
],
"stylePreprocessorOptions": {
"includePaths": [
"node_modules"
]
},
"tsConfig": "projects/igniteui-angular/tsconfig.spec.json",
"karmaConfig": "projects/igniteui-angular/karma.conf.js"
}
Expand Down
337 changes: 173 additions & 164 deletions package-lock.json

Large diffs are not rendered by default.

36 changes: 18 additions & 18 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,17 +58,17 @@
},
"private": true,
"dependencies": {
"@angular/animations": "^19.2.3",
"@angular/common": "^19.2.3",
"@angular/compiler": "^19.2.3",
"@angular/core": "^19.2.3",
"@angular/elements": "^19.2.3",
"@angular/forms": "^19.2.3",
"@angular/platform-browser": "^19.2.3",
"@angular/platform-browser-dynamic": "^19.2.3",
"@angular/platform-server": "^19.2.3",
"@angular/router": "^19.2.3",
"@angular/ssr": "^19.2.4",
"@angular/animations": "^19.2.5",
"@angular/common": "^19.2.5",
"@angular/compiler": "^19.2.5",
"@angular/core": "^19.2.5",
"@angular/elements": "^19.2.5",
"@angular/forms": "^19.2.5",
"@angular/platform-browser": "^19.2.5",
"@angular/platform-browser-dynamic": "^19.2.5",
"@angular/platform-server": "^19.2.5",
"@angular/router": "^19.2.5",
"@angular/ssr": "^19.2.6",
"@igniteui/material-icons-extended": "^3.1.0",
"@lit-labs/ssr-dom-shim": "^1.3.0",
"@types/source-map": "0.5.2",
Expand All @@ -82,16 +82,16 @@
"zone.js": "~0.15.0"
},
"devDependencies": {
"@angular-devkit/build-angular": "^19.2.4",
"@angular-devkit/schematics": "^19.2.4",
"@angular-devkit/build-angular": "^19.2.6",
"@angular-devkit/schematics": "^19.2.6",
"@angular-eslint/builder": "^19.3.0",
"@angular-eslint/eslint-plugin": "^19.3.0",
"@angular-eslint/eslint-plugin-template": "^19.3.0",
"@angular-eslint/schematics": "^19.3.0",
"@angular-eslint/template-parser": "^19.3.0",
"@angular/cli": "^19.2.4",
"@angular/compiler-cli": "^19.2.3",
"@angular/language-service": "^19.2.3",
"@angular/cli": "^19.2.6",
"@angular/compiler-cli": "^19.2.5",
"@angular/language-service": "^19.2.5",
"@angularclass/hmr": "^3.0.0",
"@microsoft/signalr": "^7.0.12",
"@types/estree": "^1.0.0",
Expand Down Expand Up @@ -131,11 +131,11 @@
"karma-parallel": "^0.3.1",
"karma-spec-reporter": "^0.0.36",
"lit-html": "^3.2.1",
"ng-packagr": "^19.2.0",
"ng-packagr": "^19.2.1",
"postcss": "^8.5.1",
"postcss-scss": "^4.0.6",
"prettier": "^3.3.3",
"puppeteer": "^24.4.0",
"puppeteer": "^24.5.0",
"sass-embedded": "^1.83.4",
"sass-true": "^8.1.0",
"sassdoc": "^2.7.4",
Expand Down
3 changes: 1 addition & 2 deletions projects/igniteui-angular/karma.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@ module.exports = function (config) {
files: [
{ pattern: '../../node_modules/hammerjs/hammer.min.js', watched: false },
{ pattern: '../../node_modules/hammer-simulator/index.js', watched: false },
{ pattern: './test.css', watched: false },
{ pattern: '../../dist/igniteui-angular/styles/igniteui-angular.css', watched: false }
{ pattern: './test.css', watched: false }
],
plugins: [
'karma-parallel',
Expand Down
3 changes: 1 addition & 2 deletions projects/igniteui-angular/karma.watch.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@ module.exports = function (config) {
files: [
{ pattern: '../../node_modules/hammerjs/hammer.min.js', watched: false },
{ pattern: '../../node_modules/hammer-simulator/index.js', watched: false },
{ pattern: './test.css', watched: false },
{ pattern: '../../dist/igniteui-angular/styles/igniteui-angular.css', watched: false }
{ pattern: './test.css', watched: false }
],
plugins: [
'karma-jasmine',
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import { waitForAsync, TestBed, fakeAsync, ComponentFixture, tick } from '@angul
import { By } from '@angular/platform-browser';
import { NoopAnimationsModule } from '@angular/platform-browser/animations';
import { IgxExpansionPanelBodyComponent, IgxExpansionPanelComponent, IgxExpansionPanelHeaderComponent, IgxExpansionPanelTitleDirective } from '../expansion-panel/public_api';
import { configureTestSuite } from '../test-utils/configure-suite';
import { UIInteractions } from '../test-utils/ui-interactions.spec';
import { IAccordionCancelableEventArgs, IAccordionEventArgs, IgxAccordionComponent } from './accordion.component';
import { slideInLeft, slideOutRight } from 'igniteui-angular/animations';
Expand All @@ -14,10 +13,9 @@ const PANEL_TAG = 'IGX-EXPANSION-PANEL';
const ACCORDION_TAG = 'IGX-ACCORDION';

describe('Rendering Tests', () => {
configureTestSuite();
let fix: ComponentFixture<IgxAccordionSampleTestComponent>;
let accordion: IgxAccordionComponent;
beforeAll(
beforeEach(
waitForAsync(() => {
TestBed.configureTestingModule({
imports: [
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import { IgxActionStripComponent, IgxActionStripMenuItemDirective } from './action-strip.component';
import { Component, ViewChild, ElementRef, ViewContainerRef } from '@angular/core';
import { configureTestSuite } from '../test-utils/configure-suite';
import { TestBed } from '@angular/core/testing';
import { TestBed, waitForAsync } from '@angular/core/testing';
import { By } from '@angular/platform-browser';
import { wait } from '../test-utils/ui-interactions.spec';
import { NoopAnimationsModule } from '@angular/platform-browser/animations';
Expand All @@ -17,17 +16,17 @@ describe('igxActionStrip', () => {
let parentContainer: ElementRef;
let innerContainer: ViewContainerRef;

configureTestSuite(() => {
return TestBed.configureTestingModule({
beforeEach(waitForAsync(() => {
TestBed.configureTestingModule({
imports: [
NoopAnimationsModule,
IgxActionStripComponent,
IgxActionStripTestingComponent,
IgxActionStripMenuTestingComponent,
IgxActionStripCombinedMenuTestingComponent
]
});
});
}).compileComponents();
}));

describe('Unit tests: ', () => {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import { TestBed, waitForAsync } from '@angular/core/testing';
import { By } from '@angular/platform-browser';
import { NoopAnimationsModule } from '@angular/platform-browser/animations';

import { configureTestSuite } from '../../test-utils/configure-suite';
import { IgxGridComponent } from '../../grids/grid/public_api';
import { UIInteractions } from '../../test-utils/ui-interactions.spec';
import { IgxHierarchicalGridActionStripComponent } from '../../test-utils/hierarchical-grid-components.spec';
Expand All @@ -21,8 +20,7 @@ describe('igxGridEditingActions #grid ', () => {
let fixture;
let actionStrip: IgxActionStripComponent;
let grid: IgxGridComponent;
configureTestSuite();
beforeAll(waitForAsync(() => {
beforeEach(waitForAsync(() => {
TestBed.configureTestingModule({
imports: [
NoopAnimationsModule,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import { Component, ViewChild, OnInit } from '@angular/core';
import { IgxActionStripComponent } from '../action-strip.component';
import { configureTestSuite } from '../../test-utils/configure-suite';
import { TestBed, waitForAsync } from '@angular/core/testing';
import { IgxGridComponent } from '../../grids/grid/public_api';
import { NoopAnimationsModule } from '@angular/platform-browser/animations';
Expand All @@ -15,8 +14,7 @@ describe('igxGridPinningActions #grid ', () => {
let fixture;
let actionStrip: IgxActionStripComponent;
let grid: IgxGridComponent;
configureTestSuite();
beforeAll(waitForAsync(() => {
beforeEach(waitForAsync(() => {
TestBed.configureTestingModule({
imports: [
NoopAnimationsModule,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,7 @@ import { TestBed, waitForAsync } from '@angular/core/testing';
import { By } from '@angular/platform-browser';
import { IgxAvatarComponent, IgxAvatarType, IgxAvatarSize } from './avatar.component';

import { configureTestSuite } from '../test-utils/configure-suite';

describe('Avatar', () => {
configureTestSuite();
const baseClass = 'igx-avatar';

const classes = {
Expand All @@ -20,7 +17,7 @@ describe('Avatar', () => {
icon: `${baseClass}--icon`
};

beforeAll(waitForAsync(() => {
beforeEach(waitForAsync(() => {
TestBed.configureTestingModule({
imports: [
InitAvatarComponent,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,8 @@ import { TestBed, waitForAsync } from '@angular/core/testing';
import { By } from '@angular/platform-browser';
import { IgxBadgeComponent, IgxBadgeType } from './badge.component';

import { configureTestSuite } from '../test-utils/configure-suite';

describe('Badge', () => {
configureTestSuite();
beforeAll(waitForAsync(() => {
beforeEach(waitForAsync(() => {
TestBed.configureTestingModule({
imports: [
InitBadgeComponent,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import { TestBed, ComponentFixture, tick, fakeAsync, waitForAsync } from '@angul
import { By } from '@angular/platform-browser';
import { IgxBannerComponent } from './banner.component';
import { NoopAnimationsModule } from '@angular/platform-browser/animations';
import { configureTestSuite } from '../test-utils/configure-suite';
import { IgxIconComponent } from '../icon/icon.component';
import { IgxBannerActionsDirective } from './banner.directives';
import { IgxCardComponent, IgxCardContentDirective, IgxCardHeaderComponent } from '../card/card.component';
Expand All @@ -24,8 +23,7 @@ describe('igxBanner', () => {
let bannerTextElement: DebugElement = null;
let bannerActionsElement: DebugElement = null;

configureTestSuite();
beforeAll(waitForAsync(() => {
beforeEach(waitForAsync(() => {
TestBed.configureTestingModule({
imports: [
NoopAnimationsModule,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import { Component, OnInit, ViewChild } from '@angular/core';
import { TestBed, fakeAsync, flushMicrotasks, waitForAsync } from '@angular/core/testing';
import { ButtonGroupAlignment, IgxButtonGroupComponent } from './buttonGroup.component';
import { configureTestSuite } from '../test-utils/configure-suite';
import { NoopAnimationsModule } from '@angular/platform-browser/animations';
import { UIInteractions, wait } from '../test-utils/ui-interactions.spec';
import { IgxButtonDirective } from '../directives/button/button.directive';
Expand Down Expand Up @@ -46,8 +45,7 @@ class Button {


describe('IgxButtonGroup', () => {
configureTestSuite();
beforeAll(waitForAsync(() => {
beforeEach(waitForAsync(() => {
TestBed.configureTestingModule({
imports: [
NoopAnimationsModule,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import { Component, ViewChild } from '@angular/core';
import { ComponentFixture, TestBed, fakeAsync, tick, waitForAsync } from '@angular/core/testing';
import { FormsModule } from '@angular/forms';
import { NoopAnimationsModule } from '@angular/platform-browser/animations';
import { configureTestSuite } from '../test-utils/configure-suite';
import { UIInteractions, wait } from '../test-utils/ui-interactions.spec';
import { ymd } from '../test-utils/helper-utils.spec';
import { IgxCalendarComponent } from './public_api';
Expand All @@ -13,9 +12,8 @@ import { HelperTestFunctions } from '../test-utils/calendar-helper-utils';
describe('Multi-View Calendar - ', () => {
let fixture: ComponentFixture<any>
let calendar: any;
configureTestSuite();

beforeAll(waitForAsync(() => {
beforeEach(waitForAsync(() => {
TestBed.configureTestingModule({
imports: [
NoopAnimationsModule,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ import {
DateRangeType,
} from "../core/dates/dateRange";

import { configureTestSuite } from "../test-utils/configure-suite";
import { IgxDayItemComponent } from "./days-view/day-item.component";
import { HelperTestFunctions } from "../test-utils/calendar-helper-utils";

Expand Down Expand Up @@ -128,9 +127,8 @@ describe("IgxCalendar - ", () => {
});

describe("Basic -", () => {
configureTestSuite({ checkLeaks: true });

beforeAll(waitForAsync(() => {
beforeEach(waitForAsync(() => {
TestBed.configureTestingModule({
imports: [
NoopAnimationsModule,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import { Component, DebugElement, ViewChild } from "@angular/core";
import { IgxDaysViewComponent } from "./days-view.component";
import { configureTestSuite } from "../../test-utils/configure-suite";
import { ComponentFixture, TestBed, waitForAsync } from "@angular/core/testing";
import { By } from "@angular/platform-browser";
import { UIInteractions } from "../../test-utils/ui-interactions.spec";
Expand All @@ -11,10 +10,9 @@ import { ScrollDirection } from "../calendar";
const TODAY = new Date(2024, 6, 12);

describe("Days View Component", () => {
configureTestSuite();
const baseClass = "igx-days-view";

beforeAll(waitForAsync(() => {
beforeEach(waitForAsync(() => {
TestBed.configureTestingModule({
imports: [InitDaysViewComponent],
}).compileComponents();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,10 @@ import { FormsModule } from '@angular/forms';
import { By } from '@angular/platform-browser';
import { NoopAnimationsModule } from '@angular/platform-browser/animations';
import { UIInteractions } from '../../test-utils/ui-interactions.spec';
import { configureTestSuite } from '../../test-utils/configure-suite';
import { IgxMonthPickerComponent } from './month-picker.component';
import { IFormattingOptions, IgxCalendarView } from '../calendar';

describe('IgxMonthPicker', () => {
configureTestSuite();

beforeEach(() => {
TestBed.configureTestingModule({
Expand Down
4 changes: 1 addition & 3 deletions projects/igniteui-angular/src/lib/card/card.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,11 @@ import {
IgxCardContentDirective,
} from './card.component';

import { configureTestSuite } from '../test-utils/configure-suite';
import { IgxButtonDirective } from '../directives/button/button.directive';
import { IgxIconComponent } from '../icon/icon.component';
import { IgxIconButtonDirective } from '../directives/button/icon-button.directive';

describe('Card', () => {
configureTestSuite();
// TODO: Refactor card tests to reuse components
const baseClass = 'igx-card';

Expand Down Expand Up @@ -62,7 +60,7 @@ describe('Card', () => {
media: `${baseClass}__media`
};

beforeAll(waitForAsync(() => {
beforeEach(waitForAsync(() => {
TestBed.configureTestingModule({
imports: [
InitCardComponent,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,18 +6,16 @@ import {
ISlideEventArgs
} from './carousel.component';
import { UIInteractions, wait } from '../test-utils/ui-interactions.spec';
import { configureTestSuite } from '../test-utils/configure-suite';
import { NoopAnimationsModule } from '@angular/platform-browser/animations';
import { IgxSlideComponent } from './slide.component';
import { IgxCarouselIndicatorDirective, IgxCarouselNextButtonDirective, IgxCarouselPrevButtonDirective } from './carousel.directives';
import { CarouselIndicatorsOrientation, CarouselAnimationType } from './enums';

describe('Carousel', () => {
configureTestSuite();
let fixture;
let carousel: IgxCarouselComponent;

beforeAll(waitForAsync(() => {
beforeEach(waitForAsync(() => {
TestBed.configureTestingModule({
imports: [
NoopAnimationsModule,
Expand Down
Loading
Loading