diff --git a/packages/luna-charts/src/components/my-component/my-component.cmp.test.tsx b/packages/luna-charts/src/components/my-component/my-component.cmp.test.tsx
index a3a2076..bc8961e 100644
--- a/packages/luna-charts/src/components/my-component/my-component.cmp.test.tsx
+++ b/packages/luna-charts/src/components/my-component/my-component.cmp.test.tsx
@@ -1,4 +1,5 @@
import { render, h, describe, it, expect } from '@stencil/vitest';
+import { runA11yChecks } from '../../testing/a11y';
describe('my-component', () => {
it('renders', async () => {
@@ -14,10 +15,15 @@ describe('my-component', () => {
`);
});
+ it('has no accessibility violations', async () => {
+ const { root } = await render();
+
+ const results = await runA11yChecks(root);
+ expect(results).toHaveNoA11yViolations();
+ });
+
it('renders with values', async () => {
- const { root } = await render(
- ,
- );
+ const { root } = await render();
await expect(root).toEqualHtml(`