Skip to content

chore: fix discovery of tests under Windows#5276

Open
cdprete wants to merge 1 commit intocodecentric:masterfrom
cdprete:master
Open

chore: fix discovery of tests under Windows#5276
cdprete wants to merge 1 commit intocodecentric:masterfrom
cdprete:master

Conversation

@cdprete
Copy link
Copy Markdown
Contributor

@cdprete cdprete commented Apr 17, 2026

Recreating this PR since I'm not allowed to reopen #5273.

It seems like that removing the test.root property to make vitest default to the parent root property was the cause of the CSS hashes changing.
This has now been reverted.

Also, the formatWithDataTypes tests have been fixed to not rely on the fact that the running Node instance has the de-DE locale set.
Moreover, depending on how the Node binary was built, locales/languages apart English may not be available.
See https://github.com/nodejs/node/blob/main/BUILDING.md#intl-ecma-402-support which may explains why the LANG env variable set in the vite config may be potentially ignored.

@cdprete cdprete requested a review from a team as a code owner April 17, 2026 18:45
@cdprete cdprete force-pushed the master branch 2 times, most recently from 4cd93e2 to b45583c Compare April 17, 2026 19:03
@cdprete cdprete changed the title Fix discovery of tests under Windows chore: fix discovery of tests under Windows Apr 17, 2026
@cdprete cdprete force-pushed the master branch 4 times, most recently from d45b2f9 to 2374a9f Compare April 19, 2026 11:02
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.

1 participant