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(yaml): add invalid represent type test #5874

Merged
merged 3 commits into from
Sep 2, 2024

Conversation

timreichen
Copy link
Contributor

@timreichen timreichen commented Aug 30, 2024

Changes
This PR adds test for invalid represent type value.
It also changes the function code to throw early.

@timreichen timreichen requested a review from kt3k as a code owner August 30, 2024 07:35
@github-actions github-actions bot added the yaml label Aug 30, 2024
Copy link

codecov bot commented Aug 30, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 96.36%. Comparing base (94a7e1b) to head (c5449f1).
Report is 5 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #5874      +/-   ##
==========================================
+ Coverage   96.35%   96.36%   +0.01%     
==========================================
  Files         479      479              
  Lines       38674    38674              
  Branches     5631     5634       +3     
==========================================
+ Hits        37263    37267       +4     
+ Misses       1367     1363       -4     
  Partials       44       44              

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

Copy link
Contributor

@iuioiua iuioiua left a comment

Choose a reason for hiding this comment

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

Nice! Thank you.

@iuioiua iuioiua merged commit 23f4738 into denoland:main Sep 2, 2024
17 checks passed
@timreichen timreichen deleted the yaml-add-represent-type-test branch September 2, 2024 07:55
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.

2 participants