Skip to content

Commit c2a38de

Browse files
committed
fix remaining test cases
1 parent 0c3b109 commit c2a38de

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

tests/unit/GithubUtilsTest.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -446,7 +446,7 @@ describe('GithubUtils', () => {
446446
if (typeof issue !== 'object') {
447447
return;
448448
}
449-
const expectedOutputWithMobileExpensify = `**Release Version:** \`${tag}\`\r\n**Compare Changes:** https://github.com/${process.env.GITHUB_REPOSITORY}/compare/production...staging\r\n**Mobile-Expensify Changes:** https://github.com/Expensify/Mobile-Expensify/compare/production...staging\r\n\r\n${deployerFYIMessage}\r\n**This release contains changes from the following pull requests:**\r\n`;
449+
const expectedOutputWithMobileExpensify = `**Release Version:** \`${tag}\`\r\n**Compare Changes:** https://github.com/${process.env.GITHUB_REPOSITORY}/compare/production...staging\r\n**Mobile-Expensify Changes:** https://github.com/Expensify/Mobile-Expensify/compare/production...staging\r\n\r\n**This release contains changes from the following pull requests:**\r\n`;
450450
expect(issue.issueBody).toBe(
451451
`${expectedOutputWithMobileExpensify}` +
452452
`${openCheckbox}${basePRList.at(2)}` +
@@ -604,7 +604,7 @@ describe('GithubUtils', () => {
604604
return;
605605
}
606606

607-
const expectedOutputWithMobileExpensify = `**Release Version:** \`${tag}\`\r\n**Compare Changes:** https://github.com/${process.env.GITHUB_REPOSITORY}/compare/production...staging\r\n**Mobile-Expensify Changes:** https://github.com/Expensify/Mobile-Expensify/compare/production...staging\r\n\r\n${deployerFYIMessage}\r\n**This release contains changes from the following pull requests:**\r\n`;
607+
const expectedOutputWithMobileExpensify = `**Release Version:** \`${tag}\`\r\n**Compare Changes:** https://github.com/${process.env.GITHUB_REPOSITORY}/compare/production...staging\r\n**Mobile-Expensify Changes:** https://github.com/Expensify/Mobile-Expensify/compare/production...staging\r\n\r\n**This release contains changes from the following pull requests:**\r\n`;
608608
expect(issue.issueBody).toBe(
609609
`${expectedOutputWithMobileExpensify}` +
610610
`${openCheckbox}${basePRList.at(2)}` +

tests/unit/createOrUpdateStagingDeployTest.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ const baseIssueList = [`https://github.com/${process.env.GITHUB_REPOSITORY}/issu
139139
// eslint-disable-next-line max-len
140140
const baseExpectedOutput = (version = '1.0.2-1', includeMobileExpensifyCompare = true) =>
141141
// cspell:disable
142-
`**Release Version:** \`${version}\`\r\n**Compare Changes:** https://github.com/${process.env.GITHUB_REPOSITORY}/compare/production...staging\r\n${includeMobileExpensifyCompare ? `**Mobile-Expensify Changes:** https://github.com/${CONST.GITHUB_OWNER}/${CONST.MOBILE_EXPENSIFY_REPO}/compare/production...staging\r\n` : ''}\r\n\r\n**This release contains changes from the following pull requests:**\r\n`;
142+
`**Release Version:** \`${version}\`\r\n**Compare Changes:** https://github.com/${process.env.GITHUB_REPOSITORY}/compare/production...staging\r\n${includeMobileExpensifyCompare ? `**Mobile-Expensify Changes:** https://github.com/${CONST.GITHUB_OWNER}/${CONST.MOBILE_EXPENSIFY_REPO}/compare/production...staging\r\n` : ''}\r\n**This release contains changes from the following pull requests:**\r\n`;
143143
// cspell:enable
144144
const openCheckbox = '- [ ] ';
145145
const closedCheckbox = '- [x] ';

0 commit comments

Comments
 (0)