Skip to content

test(find): add test case for absolute path read#1228

Open
cristiand391 wants to merge 2 commits intoshelljs:mainfrom
cristiand391:shelljs-find-tests
Open

test(find): add test case for absolute path read#1228
cristiand391 wants to merge 2 commits intoshelljs:mainfrom
cristiand391:shelljs-find-tests

Conversation

@cristiand391
Copy link

Add test case for shelljs.find taking an absolute path.

The current tests are passing on windows but only cover relative cases, I suspect the bug on windows may be with the drive -letter at the start of an absolute path.

#1227

@codecov
Copy link

codecov bot commented Jul 3, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 96.72%. Comparing base (4580c00) to head (1fb07f6).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1228      +/-   ##
==========================================
- Coverage   97.47%   96.72%   -0.75%     
==========================================
  Files          35       35              
  Lines        1467     1467              
==========================================
- Hits         1430     1419      -11     
- Misses         37       48      +11     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

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.

2 participants