We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ec64d2e commit 49c8789Copy full SHA for 49c8789
__tests__/index.test.js
@@ -218,7 +218,9 @@ describe("jest-axe", () => {
218
const matcherFunction = toHaveNoViolations.toHaveNoViolations;
219
expect(() => {
220
matcherFunction({});
221
- }).toThrow("No violations found in aXe results object");
+ }).toThrow(
222
+ "Unexpected aXe results object. No violations property found.\nDid you change the `reporter` in your aXe configuration?"
223
+ );
224
});
225
226
it("returns pass as true when no violations are present", () => {
0 commit comments