Skip to content

Commit

Permalink
Merge from upstream
Browse files Browse the repository at this point in the history
Synced with upstream and updated testBuild tests

See: #13604
  • Loading branch information
radoslawkrzemien committed Aug 16, 2023
1 parent 83b995b commit ad372bc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions workflow_tests/testBuild.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ describe('test workflow testBuild', () => {
web: mocks.TESTBUILD__WEB__STEP_MOCKS,
postGithubComment: mocks.TESTBUILD__POSTGITHUBCOMMENT__STEP_MOCKS,
};
testMockSteps.iOS[4] = utils.createMockStep('Install cocoapods', 'Install cocoapods', 'IOS', ['timeout_minutes', 'max_attempts', 'command'], [], {}, {}, false);
testMockSteps.iOS[5] = utils.createMockStep('Install cocoapods', 'Install cocoapods', 'IOS', ['timeout_minutes', 'max_attempts', 'command'], [], {}, {}, false);
const result = await act.runEvent(event, {
workflowFile: path.join(repoPath, '.github', 'workflows', 'testBuild.yml'),
mockSteps: testMockSteps,
Expand All @@ -243,7 +243,7 @@ describe('test workflow testBuild', () => {
assertions.assertValidateActorJobExecuted(result, '1234');
assertions.assertGetBranchRefJobExecuted(result);
assertions.assertAndroidJobExecuted(result, 'test-ref');
assertions.assertIOSJobExecuted(result, 'test-ref', true, 4);
assertions.assertIOSJobExecuted(result, 'test-ref', true, 5);
assertions.assertDesktopJobExecuted(result, 'test-ref');
assertions.assertWebJobExecuted(result, 'test-ref');
assertions.assertPostGithubCommentJobExecuted(result, 'test-ref', '1234', true, 'success', 'failure', 'success', 'success');
Expand Down

0 comments on commit ad372bc

Please sign in to comment.