Skip to content

Commit

Permalink
fix: changed the footer for jest violations (#627)
Browse files Browse the repository at this point in the history
* fix: changed the footer for jest violations
  • Loading branch information
jaig-0911 authored Jan 16, 2024
1 parent dabd6f2 commit 4341463
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 7 deletions.
2 changes: 1 addition & 1 deletion packages/common/__tests__/helpers.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ describe('Your Module', () => {
const result = useFilesToBeExempted();

expect(result).toEqual([]);
// Cleanup

delete process.env.SA11Y_AUTO_FILTER_LIST_PACKAGE_NAME;
});
});

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion packages/jest/src/groupViolationResultsProcessor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,8 @@ function processA11yErrors(results: AggregatedResult, testSuite: TestResult, tes
.join('\n')}
For more info about automated accessibility testing: https://sfdc.co/a11y-test
For tips on fixing accessibility bugs: https://sfdc.co/a11y
Questions? Post on Accessibility Team Chatter: https://sfdc.co/a11y-gus
For technical questions regarding Salesforce accessibility tools, contact our Sa11y team: http://sfdc.co/sa11y-users
For guidance on accessibility related specifics, contact our A11y team: http://sfdc.co/tmp-a11y
`;
a11yFailureMessages.push(a11yFailureMessage);
}
Expand Down

0 comments on commit 4341463

Please sign in to comment.