-
Notifications
You must be signed in to change notification settings - Fork 1
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(gitCommitService): add test cases #1047
test(gitCommitService): add test cases #1047
Conversation
Current dependencies on/for this PR: This stack of pull requests is managed by Graphite. |
5757b98
to
2a826b8
Compare
d050e8c
to
3d72484
Compare
2a826b8
to
3050748
Compare
3d72484
to
1bce332
Compare
3050748
to
f812fd7
Compare
1bce332
to
6f5c0d1
Compare
f812fd7
to
ecc5966
Compare
6f5c0d1
to
0b1d0b9
Compare
ecc5966
to
c2f88d4
Compare
0b1d0b9
to
79ec119
Compare
sessionData.isomerUserId, | ||
STAGING_BRANCH | ||
) | ||
expect(pushSpy).toHaveBeenCalledWith(sessionData, expect.any(Boolean)) |
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.
we should check if push was done to both staging & lite branch right?
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.
applies to all the test cases :/
thanks for the catch, added 33bff68
}) | ||
|
||
// Assert | ||
expect(deleteSpy).toHaveBeenCalledWith( |
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.
should assert if delete was called twice one for each branch right?
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.
sames as above
46c7528
to
3e85ab2
Compare
Merge activity
|
27d9fd6
to
7d9bced
Compare
d2ab13c
to
b995436
Compare
add test cases for
GitFileCommitService
.