diff --git a/tests/aria-tooltip-name.ts b/tests/aria-tooltip-name.ts
index 91686b4..989690d 100644
--- a/tests/aria-tooltip-name.ts
+++ b/tests/aria-tooltip-name.ts
@@ -1,62 +1,3 @@
-import { fixture, html, expect } from "@open-wc/testing";
-import { Scanner } from "../src/scanner";
-import { ariaTooltipName } from "../src/rules/aria-tooltip-name";
-
-const scanner = new Scanner([ariaTooltipName]);
-
-const passes = [
- `
`,
- ``,
- `Name
`,
- ``,
-];
-
-const violations = [
- ``,
- ``,
- ``,
- ``,
-];
-
-describe("aria-tooltip-name", async function() {
- for (const markup of passes) {
- const el = await fixture(html`${markup}`);
- it(el.outerHTML, async () => {
- const results = (await scanner.scan(el)).map(({ text, url }) => {
- return { text, url };
- });
-
- expect(results).to.be.empty;
- });
- }
-
- for await (const markup of violations) {
- const el = await fixture(html`${markup}`);
- it(el.outerHTML, async () => {
- const results = (await scanner.scan(el)).map(({ text, url }) => {
- return { text, url };
- });
-
- expect(results).to.eql([
- {
- text: "ARIA tooltip must have an accessible name",
- url: "https://dequeuniversity.com/rules/axe/4.4/aria-tooltip-name?application=RuleDescription",
- },
- ]);
- });
- }
-});
-=======
import { fixture, expect } from "@open-wc/testing";
import { Scanner } from "../src/scanner";
import { ariaTooltipName } from "../src/rules/aria-tooltip-name";
@@ -91,8 +32,6 @@ describe("aria-tooltip-name", async function () {
for (const markup of passes) {
const el = await fixture(markup);
it(el.outerHTML, async function () {
- console.log(markup, el.outerHTML);
- this.skip();
const results = (await scanner.scan(el)).map(({ text, url }) => {
return { text, url };
});
@@ -104,8 +43,6 @@ describe("aria-tooltip-name", async function () {
for (const markup of violations) {
const el = await fixture(markup);
it(el.outerHTML, async function () {
- console.log(markup, el.outerHTML);
- this.skip();
const results = (await scanner.scan(el)).map(({ text, url }) => {
return { text, url };
});