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(isEqual): add order-agnostic cases for Set and Map #269

Merged
merged 1 commit into from
Oct 14, 2024

Conversation

Blafasel3
Copy link
Contributor

@Blafasel3 Blafasel3 commented Oct 14, 2024

Summary

This PR adds 2 already succeeding test cases for Javascript Sets and Maps to further ensure that isEqual works as expected. The test cases assure that Maps and Sets are compared agnostic of insertion order.

Related issue, if any:

Adding testcases for Sets and Maps agnostic of insertion order

For any code change,

  • Related documentation has been updated, if needed
  • Related tests have been added or updated, if needed
  • Related benchmarks have been added or updated, if needed

Does this PR introduce a breaking change?

No

I'm currently NOT running on a linux machine and cannot run the linting due to the bash dependecy. I will try to install wsl soon but wont be able to do it now.

@Blafasel3 Blafasel3 requested a review from aleclarson as a code owner October 14, 2024 19:54
@Blafasel3 Blafasel3 changed the title Adding testcases for Sets and Maps agnostic of insertion order feat: Adding testcases for Sets and Maps agnostic of insertion order Oct 14, 2024
@Blafasel3 Blafasel3 changed the title feat: Adding testcases for Sets and Maps agnostic of insertion order feat: add testcases for Sets and Maps agnostic of insertion order Oct 14, 2024
@aleclarson
Copy link
Member

Thanks for the PR and welcome to the Radashi community!

It would be great to remove the bash dependency if possible, as bash is used very little. I wrongly assumed bash existed everywhere. I suppose I could just rewrite the node_modules check directly into the Node.js scripts. 🤔

@aleclarson aleclarson changed the title feat: add testcases for Sets and Maps agnostic of insertion order test(isEqual): add order-agnostic cases for Set and Map Oct 14, 2024
@aleclarson aleclarson merged commit adfb643 into radashi-org:main Oct 14, 2024
7 of 9 checks passed
MarlonPassos-git pushed a commit to MarlonPassos-git/radashi that referenced this pull request Nov 10, 2024
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