Skip to content

Commit 2e7b6f5

Browse files
committed
resolve cspell check with multiline disable
1 parent 8c9fee6 commit 2e7b6f5

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

tests/unit/GithubUtilsTest.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -406,9 +406,10 @@ describe('GithubUtils', () => {
406406
const baseDeployBlockerList = [`https://github.com/${process.env.GITHUB_REPOSITORY}/pull/3`, `https://github.com/${process.env.GITHUB_REPOSITORY}/issues/4`];
407407

408408
// Add the new warning message that was added to the GithubUtils
409+
// cspell:disable
409410
const deployerFYIMessage =
410411
'> 💡 **Deployer FYI:** This checklist was generated using a new process. PR list from original method and detail logging can be found in the most recent [deploy workflow](https://github.com/Expensify/App/actions/workflows/deploy.yml) labeled `staging`, in the `createChecklist` action. Please tag @Julesssss with any issues.\r\n\r\n';
411-
412+
// cspell:enable
412413
// eslint-disable-next-line max-len
413414
const baseExpectedOutput = `**Release Version:** \`${tag}\`\r\n**Compare Changes:** https://github.com/${process.env.GITHUB_REPOSITORY}/compare/production...staging\r\n\r\n${deployerFYIMessage}\r\n**This release contains changes from the following pull requests:**\r\n`;
414415
const openCheckbox = '- [ ] ';

tests/unit/createOrUpdateStagingDeployTest.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,9 +131,10 @@ const basePRList = [
131131

132132
const baseIssueList = [`https://github.com/${process.env.GITHUB_REPOSITORY}/issues/11`, `https://github.com/${process.env.GITHUB_REPOSITORY}/issues/12`];
133133
// eslint-disable-next-line max-len
134-
// cspell:disable-next-line
135134
const baseExpectedOutput = (version = '1.0.2-1') =>
135+
// cspell:disable
136136
`**Release Version:** \`${version}\`\r\n**Compare Changes:** https://github.com/${process.env.GITHUB_REPOSITORY}/compare/production...staging\r\n\r\n> 💡 **Deployer FYI:** This checklist was generated using a new process. PR list from original method and detail logging can be found in the most recent [deploy workflow](https://github.com/Expensify/App/actions/workflows/deploy.yml) labeled \`staging\`, in the \`createChecklist\` action. Please tag @Julesssss with any issues.\r\n\r\n\r\n**This release contains changes from the following pull requests:**\r\n`;
137+
// cspell:enable
137138
const openCheckbox = '- [ ] ';
138139
const closedCheckbox = '- [x] ';
139140
const deployerVerificationsHeader = '**Deployer verifications:**';

0 commit comments

Comments
 (0)