-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cleanup(js): fix test cases on windows (#27300)
## Current Behavior running `nx test js` fail on windows ## Expected Behavior running `nx test js` succeed ## side notes 1. I was skipping `packages/js/src/plugins/typescript/plugin.spec.ts` because it makes all tests fail, and even in wsl it's very flaky, it fail 90% of the times, but I couldn't figure out why I think it's worth looking at from someone with more experience with the repo 2. for some of the cases that I fixed I'm not sure if I should change the code to always return `/` or should change the test to adapt `/` in linux and `\` in windows, so please if I mistaken one of them let me know and I will do it the other way around but I believe it should be fine since in windows `foo/bar` does work as a path still (cherry picked from commit 69c989e)
- Loading branch information
1 parent
f57780d
commit 7d1d14f
Showing
4 changed files
with
17 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters