Skip to content

[UI] Enable strict checking for ArrayUtils tests - #3963

Merged
sfeilmeier merged 3 commits into
OpenEMS:developfrom
PunugupatiSaikumar:feature/ui-arrayutils-typescript-strict
Sep 22, 2026
Merged

sfeilmeier merged 3 commits into
OpenEMS:developfrom
PunugupatiSaikumar:feature/ui-arrayutils-typescript-strict

Conversation

@PunugupatiSaikumar

Copy link
Copy Markdown
Contributor

Enable strict checking for ArrayUtils tests and allow sorting callbacks
to return null or undefined, matching existing documented behavior.

Preserve the invalid-callback runtime test using Reflect.apply().
The sorting implementation remains unchanged.

@codecov

codecov Bot commented Sep 8, 2026 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 0% with 1 line in your changes missing coverage. Please review.

Additional details and impacted files
@@            Coverage Diff             @@
##             develop    #3963   +/-   ##
==========================================
  Coverage      55.49%   55.49%           
- Complexity     19598    19600    +2     
==========================================
  Files           3864     3864           
  Lines         178387   178387           
  Branches       14865    14865           
==========================================
  Hits           98976    98976           
- Misses         75523    75525    +2     
+ Partials        3888     3886    -2     
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@sfeilmeier sfeilmeier linked an issue Sep 22, 2026 that may be closed by this pull request
@sfeilmeier
sfeilmeier merged commit eea9403 into OpenEMS:develop Sep 22, 2026
2 checks passed
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.

UI: turn on strict mode

2 participants