Skip to content

Conversation

@ChronosSF
Copy link
Member

Closes #

Additional information (check all that apply):

  • Bug fix
  • New functionality
  • Documentation
  • Demos
  • CI/CD

Checklist:

  • All relevant tags have been applied to this PR
  • This PR includes unit tests covering all the new code (test guidelines)
  • This PR includes API docs for newly added methods/properties (api docs guidelines)
  • This PR includes feature/README.MD updates for the feature docs
  • This PR includes general feature table updates in the root README.MD
  • This PR includes CHANGELOG.MD updates for newly added functionality
  • This PR contains breaking changes
  • This PR includes ng update migrations for the breaking changes (migrations guidelines)
  • This PR includes behavioral changes and the feature specification has been updated with them

BaseFormatter,
I18N_FORMATTER
} from 'igniteui-angular/core';
import { IgxOverlayOutletDirective, IgxOverlayService, OverlayCancelableEventArgs, OverlayClosingEventArgs, OverlayEventArgs, OverlaySettings, WEEKDAYS, BaseFormatter, I18N_FORMATTER } from 'igniteui-angular/core';
@ChronosSF
Copy link
Member Author

@copilot , can you fix the lint errors?

Copy link
Contributor

Copilot AI commented Jan 21, 2026

@ChronosSF I've opened a new pull request, #16782, to work on those changes. Once the pull request is ready, I'll request review from you.

Copilot AI and others added 2 commits January 21, 2026 14:15
Co-authored-by: ChronosSF <2188411+ChronosSF@users.noreply.github.com>
fix(lint): resolve parsing errors and style violations from vitest migration
@ChronosSF
Copy link
Member Author

@copilot , this pr is meant to replace the old karma runner with vitest using playwright for browser mode. The automatic migration provided through a schematic left some issues. Use the CI build to check for errors and fix them.

Copy link
Contributor

Copilot AI commented Jan 21, 2026

@ChronosSF I've opened a new pull request, #16785, to work on those changes. Once the pull request is ready, I'll request review from you.

Copilot AI and others added 3 commits January 21, 2026 15:11
Co-authored-by: ChronosSF <2188411+ChronosSF@users.noreply.github.com>
Co-authored-by: ChronosSF <2188411+ChronosSF@users.noreply.github.com>
fix(schematics): exclude spec files from build compilation
@ChronosSF
Copy link
Member Author

@copliot, fix test run errors by adding necessary imports.

]);
const mockNgControl = {
writeValue: vi.fn().mockName("NgControl.writeValue"),
onChange: vi.fn().mockName("NgControl.onChange"),
import { NoopAnimationsModule } from '@angular/platform-browser/animations';
import { IgxIconComponent } from 'igniteui-angular/icon';
import { wait } from '../../../test-utils/ui-interactions.spec';
import { describe, it, test, expect, beforeEach, vi } from 'vitest';
import { IgxScrollInertiaDirective } from './scroll_inertia.directive';

import { wait } from '../../../../test-utils/ui-interactions.spec';
import { describe, it, test, expect, beforeEach, afterEach, vi } from 'vitest';
import { FilteringExpressionsTree, FilteringLogic, IFilteringExpressionsTree, IGroupingExpression, IgxStringFilteringOperand, IPagingState, ISortingExpression, SortingDirection } from 'igniteui-angular/core';
import { IgxHierarchicalGridComponent, IgxRowIslandComponent } from 'igniteui-angular/grids/hierarchical-grid';
import { IgxGridNavigationService } from './grid-navigation.service';
import { describe, it, test, expect, beforeEach, vi } from 'vitest';
import { IgxGridComponent } from './grid.component';
import { GridSelectionFunctions, GridFunctions } from '../../../test-utils/grid-functions.spec';
import { ColumnType, SortingDirection } from 'igniteui-angular/core';
import { describe, it, test, expect, beforeEach, vi } from 'vitest';
@ChronosSF
Copy link
Member Author

@copilot , in the CI run there are tests that throw errors for various reasons. Fix them.

Copy link
Contributor

Copilot AI commented Jan 21, 2026

@ChronosSF I've opened a new pull request, #16786, to work on those changes. Once the pull request is ready, I'll request review from you.

Copilot AI and others added 4 commits January 21, 2026 17:24
- Add expect import to calendar-helper-utils.ts
- Replace jasmine.getEnv() with vitest beforeEach/afterEach
- Replace jasmine.createSpyObj with vi.fn() based mocks
- Replace pending() with it.skip()
- Fix expect() message syntax for vitest (message before assertion)
- Remove deprecated exportExcel and exportCsv properties
- Remove deprecated moveable property from column definitions
- Fix mock emitter types to use any for compatibility

Co-authored-by: ChronosSF <2188411+ChronosSF@users.noreply.github.com>
- Add GridPagingMode import and use GridPagingMode.Remote for RemotePagingComponent
- Add GridSelectionMode import and use GridSelectionMode.none for MovableColumnsComponent
- Add GridColumnDataType import and properly type columns in IgxGridAdvancedFilteringDynamicColumnsComponent

Co-authored-by: ChronosSF <2188411+ChronosSF@users.noreply.github.com>
- Add isEditable, isHidden, isGroupable to MovableTemplatedColumnsComponent
- Add paging property to MovableColumnsLargeComponent

Co-authored-by: ChronosSF <2188411+ChronosSF@users.noreply.github.com>
fix(tests): Complete Vitest migration fixes for CI compilation errors
@ChronosSF
Copy link
Member Author

@copilot , in the spec files after migrating from jasmine to vitest there are a lot of instances where the message format for the asserts (expect clauses) is wrong and needs to be as a second argument to the expect call. Fix those.

Copy link
Contributor

Copilot AI commented Jan 21, 2026

@ChronosSF I've opened a new pull request, #16787, to work on those changes. Once the pull request is ready, I'll request review from you.

Copilot AI and others added 3 commits January 21, 2026 21:36
Co-authored-by: ChronosSF <2188411+ChronosSF@users.noreply.github.com>
Co-authored-by: ChronosSF <2188411+ChronosSF@users.noreply.github.com>
fix(tests): migrate expect assertion messages to Vitest format
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants