Skip to content

Commit 23ac663

Browse files
committed
Fix expectations for API command calls in Report actions test
1 parent d2963fc commit 23ac663

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/actions/ReportTest.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -953,8 +953,8 @@ describe('actions/Report', () => {
953953

954954
// Checking no requests were or will be made
955955
TestHelper.expectAPICommandToHaveBeenCalled(WRITE_COMMANDS.ADD_COMMENT, 1);
956-
TestHelper.expectAPICommandToHaveBeenCalled(WRITE_COMMANDS.UPDATE_COMMENT, 0);
957-
TestHelper.expectAPICommandToHaveBeenCalled(WRITE_COMMANDS.DELETE_COMMENT, 1);
956+
TestHelper.expectAPICommandToHaveBeenCalled(WRITE_COMMANDS.UPDATE_COMMENT, 1);
957+
TestHelper.expectAPICommandToHaveBeenCalled(WRITE_COMMANDS.DELETE_COMMENT, 0);
958958
});
959959

960960
it('should send DeleteComment request after AddComment is rollbacked', async () => {

0 commit comments

Comments
 (0)