build: update jasmine to 3.5#34625
Conversation
d9234b9 to
aef645b
Compare
aef645b to
b6d1ebd
Compare
|
@mhevery , yeah, this is still WIP, I will finish this one asap. |
b6d1ebd to
914bd11
Compare
0de64a5 to
0d84546
Compare
0d84546 to
2530238
Compare
|
@mhevery, I updated the PR, some case may need to wait for the |
This comment has been minimized.
This comment has been minimized.
|
@gkalpak , got it, thank you for the explanation. |
3e821b4 to
7b12dfa
Compare
|
Hi, Based on PullApprove, I was added as a reviewer on behalf of Note: I've added "cleanup" label because there is a couple files that conflict with master branch. Thank you. |
7b12dfa to
86a2f62
Compare
IgorMinar
left a comment
There was a problem hiding this comment.
thanks @JiaLiPassion !
I'm relabeling this as master & patch because this change doesn't affect Angular applications.
@JiaLiPassion I doubt that this change will cherry-pick cleanly to 9.1.x branch - can you please send a separate PR against that branch? thanks!
|
@JiaLiPassion please rebase this PR one more time - I just spoke with @kara and we'll merge this PR as soon as it's rebased. |
1. update jasmine to 3.5 2. update @types/jasmine to 3.5 3. update @types/jasminewd2 to 2.0.8 Also fix several cases, the new jasmine 3 will help to create test cases correctly, such as in the `jasmine 2.x` version, the following case will pass ``` expect(1 == 2); ``` But in jsamine 3, the case will need to be ``` expect(1 == 2).toBeTrue(); ```
Some cases will still need to use `spy as any` cast, because `@types/jasmine` have some issues, 1. The issue jasmine doesn't handle optional method properties, DefinitelyTyped/DefinitelyTyped#43486 2. The issue jasmine doesn't handle overload method correctly, DefinitelyTyped/DefinitelyTyped#42455
|
@IgorMinar , thanks for the review, I just rebased, and I created a PR #36501 target |
|
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |


PR Checklist
Please check if your PR fulfills the following requirements:
PR Type
What kind of change does this PR introduce?
Update jasmine to 3.5, so I can continue to work with #33657, also need to wait #33717 typescript 3.7 PR to merge first, otherwise, it will not compile.