We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4e4e4a2 commit 89664ecCopy full SHA for 89664ec
1 file changed
test/registry/cache-paths.test.mts
@@ -24,7 +24,9 @@ describe('package manager cache paths', () => {
24
it('should contain expected keywords when paths are set', () => {
25
for (const { keyword, value } of cachePaths) {
26
if (value) {
27
- expect(value).toContain(keyword)
+ // Use case-insensitive matching for Windows compatibility
28
+ // (e.g., Windows uses 'Yarn' not 'yarn' in paths)
29
+ expect(value.toLowerCase()).toContain(keyword.toLowerCase())
30
}
31
32
})
0 commit comments