Skip to content

Commit

Permalink
fix: a11y cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
jeripeierSBB committed May 2, 2024
1 parent a6af950 commit c851fd2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/components/core/testing/private/a11y-tree-snapshot.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { aTimeout, expect, fixture } from '@open-wc/testing';
import { aTimeout, expect, fixture, fixtureCleanup } from '@open-wc/testing';
import { a11ySnapshot } from '@web/test-runner-commands';
import type { TemplateResult } from 'lit';
import { html } from 'lit/static-html.js';
Expand All @@ -18,6 +18,7 @@ async function a11yTreeEqualSnapshot(): Promise<void> {

const htmlWrapper = await fixture(html`<p>${JSON.stringify(snapshot, null, 2)}</p>`);
await expect(htmlWrapper).to.be.equalSnapshot();
fixtureCleanup();
}

/**
Expand Down

0 comments on commit c851fd2

Please sign in to comment.