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: use IsExact of @std/testing #133

Merged
merged 3 commits into from
Sep 8, 2024
Merged

test: use IsExact of @std/testing #133

merged 3 commits into from
Sep 8, 2024

Conversation

Milly
Copy link
Collaborator

@Milly Milly commented Sep 7, 2024

IsExact false positives have been fixed in @std/[email protected].

This PR only changes test, no code changes.

Copy link

codecov bot commented Sep 7, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 99.89%. Comparing base (6cf6aeb) to head (37a93cc).
Report is 4 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #133   +/-   ##
=======================================
  Coverage   99.89%   99.89%           
=======================================
  Files          52       52           
  Lines         954      954           
  Branches      120      120           
=======================================
  Hits          953      953           
  Misses          1        1           

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

assertType<IsExact<() => any, () => number>>(true);
assertType<IsExact<Foo<any>, Foo<number>>>(true);
assertType<IsExact<{ a: 1 }, { readonly a: 1 }>>(true);
});
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

This test now fails once we update @std/testing to 1.0.1 or higher, which is expected.

@Milly Milly requested a review from lambdalisue September 7, 2024 18:49
@lambdalisue lambdalisue merged commit 747a1ee into main Sep 8, 2024
5 checks passed
@lambdalisue lambdalisue deleted the testing branch September 8, 2024 06:35
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