Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test(fs): improve ensureSymlink() test #5087

Merged
merged 2 commits into from
Jun 20, 2024

Conversation

kt3k
Copy link
Member

@kt3k kt3k commented Jun 19, 2024

part of #3713

This improves the line coverage of ensureSymlink test.

@github-actions github-actions bot added the fs label Jun 19, 2024
Copy link

codecov bot commented Jun 19, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 92.48%. Comparing base (41a2da4) to head (f408442).
Report is 4 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #5087      +/-   ##
==========================================
+ Coverage   92.44%   92.48%   +0.03%     
==========================================
  Files         481      481              
  Lines       38732    38722      -10     
  Branches     5446     5440       -6     
==========================================
+ Hits        35806    35811       +5     
+ Misses       2871     2856      -15     
  Partials       55       55              

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

@iuioiua iuioiua changed the title test(fs): improve ensureSymlink test test(fs): improve ensureSymlink() test Jun 19, 2024
@@ -238,7 +238,10 @@ Deno.test("ensureSymlinkSync() creates symlink with relative target", function (
Deno.removeSync(testDir, { recursive: true });
});

Deno.test("ensureSymlink() works with URLs", async () => {
Deno.test("ensureSymlink() works with URLs", {
// TODO(kt3k): The 2nd test case doesn't pass on Windows. Fix it.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Able to create an issue?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Created #5092

@kt3k kt3k merged commit b75d42a into denoland:main Jun 20, 2024
15 checks passed
@kt3k kt3k deleted the improve-ensure-symlink-test branch June 20, 2024 03:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants