Skip to content

test(extras): adding more coverage#17116

Merged
kdinev merged 9 commits intomasterfrom
coverage-extras
Mar 27, 2026
Merged

test(extras): adding more coverage#17116
kdinev merged 9 commits intomasterfrom
coverage-extras

Conversation

@kdinev
Copy link
Copy Markdown
Member

@kdinev kdinev commented Mar 27, 2026

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

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR expands unit test coverage for igniteui-angular-extras (pipes, directives, and context-menu components) and updates the root npm test script to run additional project test suites as part of CI.

Changes:

  • Added new and expanded Jasmine specs across multiple extras features (SVG pipe, conditional formatting, chart integration, context menu, chart dialog).
  • Added an extras-level .gitignore.
  • Updated the root test script to run multiple test targets (lib/styles/schematics/i18n/extras/elements), with corresponding package-lock.json updates.

Reviewed changes

Copilot reviewed 9 out of 10 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
projects/igniteui-angular-extras/src/lib/pipes/svg.pipe.spec.ts New tests validating SvgPipe output type and sanitizer usage.
projects/igniteui-angular-extras/src/lib/directives/conditional-formatting/conditional-formatting.directive.spec.ts Added boundary/edge-case coverage for formatters (thresholds, non-numeric, range checks).
projects/igniteui-angular-extras/src/lib/directives/chart-integration/initializers.spec.ts Added assertions for initializer seriesType storage.
projects/igniteui-angular-extras/src/lib/directives/chart-integration/chart-integration.directive.spec.ts Added coverage for option-setting, label member path logic, pie exclusion, idempotent enable/disable, scatter line creation.
projects/igniteui-angular-extras/src/lib/context-menu/igx-context-menu.directive.spec.ts Added coverage for destroy/overlay events and additional render edge cases.
projects/igniteui-angular-extras/src/lib/context-menu/context-menu.component.spec.ts Added coverage around destroy behavior, overlay events, constructor init, and tab menu toggling.
projects/igniteui-angular-extras/src/lib/context-menu/chart-dialog/chart-dialog.component.spec.ts Added coverage for ngAfterViewInit, ngOnDestroy, and title formatting edge cases.
projects/igniteui-angular-extras/.gitignore Added ignore rules scoped to the extras project directory.
package.json Updated npm test to run additional test suites (including extras/elements) for CI.
package-lock.json Lockfile updates corresponding to dependency tree / npm metadata changes.

Konstantin Dinev and others added 5 commits March 27, 2026 10:36
…menu.component.spec.ts

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
…ext-menu.directive.spec.ts

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
…menu.component.spec.ts

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 10 out of 11 changed files in this pull request and generated no new comments.

@kdinev kdinev merged commit f7f7ba3 into master Mar 27, 2026
6 checks passed
@kdinev kdinev deleted the coverage-extras branch March 27, 2026 10:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants