Skip to content

Fix tests that are failing the build#5551

Merged
dplewis merged 1 commit intoparse-community:masterfrom
back4app:buildFailing
May 1, 2019
Merged

Fix tests that are failing the build#5551
dplewis merged 1 commit intoparse-community:masterfrom
back4app:buildFailing

Conversation

@davimacedo
Copy link
Copy Markdown
Member

@davimacedo davimacedo commented May 1, 2019

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

@dplewis
Copy link
Copy Markdown
Member

dplewis commented May 1, 2019

I was thinking about doing the same thing

@davimacedo
Copy link
Copy Markdown
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
Copy Markdown
Member Author

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

@dplewis
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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