Skip to content

Clean igx-ts spec files from unneeded modules #1539

@Hristo313

Description

@Hristo313

Description:
Review and clean up all igx-ts spec files by removing unnecessary module imports.

Over time, many spec files have accumulated extra modules (e.g., Angular testing modules, Ignite UI modules, or shared utilities) that are no longer required for the tests to run successfully. This task aims to simplify and optimize the test environment by ensuring each spec file imports only what is strictly needed.

Goals:
Identify and remove unused Angular and Ignite UI modules from spec files
Eliminate redundant TestBed.configureTestingModule configurations
Ensure each test includes only minimal required dependencies
Improve test performance and readability
Reduce maintenance overhead and avoid misleading dependencies

Scope:
All *.spec.ts files under igx-ts
Focus on: imports arrays

Acceptance Criteria:
All tests pass successfully after cleanup
No unused imports remain in spec files
No regression in test coverage or behavior

Notes:
Be careful not to remove indirectly required modules (e.g., dependencies required by components under test)
Prefer incremental cleanup if needed to avoid large breaking changes

Metadata

Metadata

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions