diff options
| author | Tommaso Sciortino <[email protected]> | 2025-07-23 15:07:19 -0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-07-23 22:07:19 +0000 |
| commit | e21b5c95aaf801da2539ebbc53f0fd3cf45b7ed2 (patch) | |
| tree | 76f1c025180f6d069316d2b44ba96a6ccbc18381 /packages/core/src/utils/getFolderStructure.test.ts | |
| parent | d7a304bcffc7d2340f3de762f14286596954ce4e (diff) | |
Fix tests to work in windows (#4754)
Diffstat (limited to 'packages/core/src/utils/getFolderStructure.test.ts')
| -rw-r--r-- | packages/core/src/utils/getFolderStructure.test.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/core/src/utils/getFolderStructure.test.ts b/packages/core/src/utils/getFolderStructure.test.ts index 3f1b4534..f7b67ae4 100644 --- a/packages/core/src/utils/getFolderStructure.test.ts +++ b/packages/core/src/utils/getFolderStructure.test.ts @@ -309,7 +309,7 @@ ${testRootDir}${path.sep} fileService, }); expect(structure).not.toContain('ignored.txt'); - expect(structure).toContain('node_modules/...'); + expect(structure).toContain(`node_modules${path.sep}...`); expect(structure).not.toContain('logs.json'); }); @@ -334,7 +334,7 @@ ${testRootDir}${path.sep} }); expect(structure).toContain('ignored.txt'); // node_modules is still ignored by default - expect(structure).toContain('node_modules/...'); + expect(structure).toContain(`node_modules${path.sep}...`); }); }); }); |
