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

Fix tests that are failing the build #5551

Merged
merged 1 commit into from
May 1, 2019

Conversation

davimacedo
Copy link
Member

@davimacedo davimacedo commented May 1, 2019

The problem is the way that the arrays are sorted:
nodejs/node#24106

@dplewis
Copy link
Member

dplewis commented May 1, 2019

I was thinking about doing the same thing

@davimacedo
Copy link
Member Author

The test didn't pass though... I will try to figure out.

@davimacedo davimacedo changed the title Fix test that is failing the build Fix tests that are failing the build May 1, 2019
@davimacedo
Copy link
Member Author

There was another test failing with the same problem. All tests are passing now.

@dplewis
Copy link
Member

dplewis commented May 1, 2019

Are there more like that? We can probably get rid of the deep-diff package too since jasmine has its own matcher and there are known problems with it. Would string.localeCompare() be better?

@davimacedo
Copy link
Member Author

The problem here is actually the way the sort callback is written. I didn't find more cases like this.

In terms of deep-diff, there are many tests that use this package. They are passing but I agree with you that we could replace it. Maybe on a separate PR?

Copy link
Member

@dplewis dplewis left a comment

Choose a reason for hiding this comment

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

We can submit a separate PR if this arises again.

@dplewis dplewis merged commit 8f0e7f3 into parse-community:master May 1, 2019
dplewis added a commit that referenced this pull request Jun 11, 2019
Closes: #5651

Building on #5551
@dplewis dplewis mentioned this pull request Jun 11, 2019
dplewis added a commit that referenced this pull request Jun 11, 2019
Closes: #5651

Building on #5551
UnderratedDev pushed a commit to UnderratedDev/parse-server that referenced this pull request Mar 21, 2020
UnderratedDev pushed a commit to UnderratedDev/parse-server that referenced this pull request Mar 21, 2020
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