Skip to content

Conversation

@myk93
Copy link
Contributor

@myk93 myk93 commented Sep 8, 2025

This pull request introduces improvements to the handling of column name uniqueness in a case-insensitive manner and adds new npm scripts for cleaning Jest caches. The changes help ensure that column names are validated and adjusted without case sensitivity issues, and streamline the testing workflow.

Case-insensitive column name handling:

  • Updated validateUniqueAndValidDataArray in src/utils/gridUtils.ts to check for uniqueness in a case-insensitive way by converting all items to lowercase before creating the set.
  • Modified getAdjustedColumnNames in src/utils/gridUtils.ts so that column names are adjusted for uniqueness in a case-insensitive manner, ensuring names like "Column" and "column" are not treated as unique.

NPM scripts and versioning:

  • Added clean (clears Jest cache) and test:clean (runs clean before tests) scripts to package.json to improve test reliability, and updated the package version to 3.4.1-beta. [1] [2]

@mabezen mabezen merged commit 0329e3f into microsoft:main Sep 9, 2025
1 check 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.

2 participants