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

Refactor/fix tuple items sorting in tests #1362

Merged
merged 1 commit into from
Feb 26, 2024

Conversation

hugocaillard
Copy link
Collaborator

@hugocaillard hugocaillard commented Feb 26, 2024

Description

The clarinet-sdk wasn't properly handling tuples property sorting, leading to complex diff reading in failing tests. (It was only sorting top level tuple properties)
Stacks.js now handles tuples property sorting in pretty print so that Clarinet doesn't have (and it handle nested values out of the box)

Fix #1354

@hugocaillard hugocaillard self-assigned this Feb 26, 2024
Copy link

codecov bot commented Feb 26, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 41.18%. Comparing base (0f9e612) to head (d2fbab4).

Additional details and impacted files
@@           Coverage Diff            @@
##           develop    #1362   +/-   ##
========================================
  Coverage    41.18%   41.18%           
========================================
  Files           86       86           
  Lines        31637    31637           
========================================
  Hits         13030    13030           
  Misses       18607    18607           

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

Copy link
Contributor

@janniks janniks left a comment

Choose a reason for hiding this comment

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

LGTM ✨

@hugocaillard hugocaillard merged commit d313891 into develop Feb 26, 2024
19 checks passed
@hugocaillard hugocaillard deleted the refactor/fix-tuple-items-sorting-in-tests branch February 26, 2024 16:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

TypeError: Object.entries(...).toSorted is not a function when using Node.js v18.15
2 participants