Skip to content

Commit

Permalink
Update general.spec.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
HendrikSchmidt committed Jan 14, 2025
1 parent 5337984 commit fa72873
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions packages/dito/tests/a11y/general.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,8 @@ test.describe("basic example a11y test", () => {
await page.goto(redirectedUrl);
}

const accessibilityScanResults = await new AxeBuilder({
page,
}).analyze();
expect(accessibilityScanResults.violations).toEqual([]);
const accessibilityResults = await new AxeBuilder({ page }).analyze();
expect(accessibilityResults.violations).toEqual([]);
});
});

Expand Down

0 comments on commit fa72873

Please sign in to comment.