-
-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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: Bump to jasmine 5.4.0 #9453
base: alpha
Are you sure you want to change the base?
Conversation
Thanks for opening this pull request! |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## alpha #9453 +/- ##
=======================================
Coverage 93.49% 93.49%
=======================================
Files 186 186
Lines 14810 14810
=======================================
Hits 13846 13846
Misses 964 964 ☔ View full report in Codecov by Sentry. 🚨 Try these New Features:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Very nice!
@@ -3691,7 +3692,7 @@ describe('Parse.User testing', () => { | |||
done(); | |||
}); | |||
}); | |||
}).pend('this test fails. See: https://github.com/parse-community/parse-server/issues/5097'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is the combined use of xit
and .pend
recommended? I thought one essentially excludes the other? Should xit
be it
when adding pend
, or is there any advantage of combining them?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
xit.pend
is not a function anymore
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I misread the diff file. You are removing .pend
, not adding it. In that case we'd loose the info why this test is disabled. Wouldn't it be better to use this syntax:
it('should not send a verification email if the user signed up using oauth', async () => {
pending('this test fails. See: https://github.com/parse-community/parse-server/issues/5097');
}
- change from
xit
toit
- change from chained
.pend
topending()
call inside test
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I tried it your way and the test failed. I added a comment so no info is lost
This reverts commit 6879188.
Pull Request
Issue
Closes: #9399
Approach
done
is deprecated and should be replaced with async / awaitTasks