Skip to content

Fix unitest to pass on Win32#7204

Draft
dannyvv wants to merge 1 commit into
yarnpkg:masterfrom
dannyvv:pr/FixUnitTestsWin32
Draft

Fix unitest to pass on Win32#7204
dannyvv wants to merge 1 commit into
yarnpkg:masterfrom
dannyvv:pr/FixUnitTestsWin32

Conversation

@dannyvv

@dannyvv dannyvv commented Jun 26, 2026

Copy link
Copy Markdown
Contributor

What's the problem this PR addresses?

UnitTests had failures when running on Windows.
...

How did you fix it?

I updated Shell tests to use an alternative of cat in the tests that matches the stdin/stdout semantics on windows. Non-Windows keeps using cat

I skipped the unzip symlinked zip file on Windows systems. Git does not restore the symlink properly on windows and just leaves a text file with the symlink contents.

...

Checklist

  • I have set the packages that need to be released for my changes to be effective.
  • I will check that all automated PR checks pass before the PR gets reviewed.

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