Skip to content

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

Closed
cristiand391 wants to merge 2 commits into
shelljs:mainfrom
cristiand391:shelljs-find-tests
Closed

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

Conversation

@cristiand391

Copy link
Copy Markdown

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

Comment thread test/find.js Outdated
@codecov

codecov Bot commented Jul 3, 2025

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 96.72%. Comparing base (4580c00) to head (1fb07f6).
⚠️ Report is 9 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.

@cristiand391 cristiand391 closed this by deleting the head repository Feb 15, 2026
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