Skip to content

Commit

Permalink
test: update to reflect default selector
Browse files Browse the repository at this point in the history
  • Loading branch information
NickDJM committed Jun 24, 2024
1 parent f48554f commit 2dc571e
Show file tree
Hide file tree
Showing 37 changed files with 0 additions and 657 deletions.
1 change: 0 additions & 1 deletion tests/menus/DisclosureMenu/aria.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ describe("DisclosureMenu", () => {
// Create a new DisclosureMenu instance for testing.
const menu = new DisclosureMenu({
menuElement: document.querySelector("ul"),
submenuItemSelector: "li.dropdown",
containerElement: document.querySelector("nav"),
controllerElement: document.querySelector("button"),
});
Expand Down
1 change: 0 additions & 1 deletion tests/menus/DisclosureMenu/axe.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ describe("DisclosureMenu", () => {
/* eslint-disable-next-line no-unused-vars */
const menu = new DisclosureMenu({
menuElement: document.querySelector("ul"),
submenuItemSelector: "li.dropdown",
containerElement: document.querySelector("nav"),
controllerElement: document.querySelector("button"),
});
Expand Down
21 changes: 0 additions & 21 deletions tests/menus/DisclosureMenu/click.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ describe("DisclosureMenu", () => {
// Create a new DisclosureMenu instance for testing.
const menu = new DisclosureMenu({
menuElement: document.querySelector("ul"),
submenuItemSelector: "li.dropdown",
containerElement: document.querySelector("nav"),
controllerElement: document.querySelector("button"),
});
Expand All @@ -57,7 +56,6 @@ describe("DisclosureMenu", () => {
// Create a new DisclosureMenu instance for testing.
const menu = new DisclosureMenu({
menuElement: document.querySelector("ul"),
submenuItemSelector: "li.dropdown",
containerElement: document.querySelector("nav"),
controllerElement: document.querySelector("button"),
});
Expand All @@ -78,7 +76,6 @@ describe("DisclosureMenu", () => {
// Create a new DisclosureMenu instance for testing.
const menu = new DisclosureMenu({
menuElement: document.querySelector("ul"),
submenuItemSelector: "li.dropdown",
containerElement: document.querySelector("nav"),
controllerElement: document.querySelector("button"),
});
Expand All @@ -104,7 +101,6 @@ describe("DisclosureMenu", () => {
// Create a new DisclosureMenu instance for testing.
const menu = new DisclosureMenu({
menuElement: document.querySelector("ul"),
submenuItemSelector: "li.dropdown",
containerElement: document.querySelector("nav"),
controllerElement: document.querySelector("button"),
});
Expand All @@ -124,7 +120,6 @@ describe("DisclosureMenu", () => {
// Create a new DisclosureMenu instance for testing.
const menu = new DisclosureMenu({
menuElement: document.querySelector("ul"),
submenuItemSelector: "li.dropdown",
containerElement: document.querySelector("nav"),
controllerElement: document.querySelector("button"),
});
Expand All @@ -146,7 +141,6 @@ describe("DisclosureMenu", () => {
// Create a new DisclosureMenu instance for testing.
const menu = new DisclosureMenu({
menuElement: document.querySelector("ul"),
submenuItemSelector: "li.dropdown",
containerElement: document.querySelector("nav"),
controllerElement: document.querySelector("button"),
});
Expand All @@ -168,7 +162,6 @@ describe("DisclosureMenu", () => {
// Create a new DisclosureMenu instance for testing.
const menu = new DisclosureMenu({
menuElement: document.querySelector("ul"),
submenuItemSelector: "li.dropdown",
containerElement: document.querySelector("nav"),
controllerElement: document.querySelector("button"),
});
Expand All @@ -184,7 +177,6 @@ describe("DisclosureMenu", () => {
// Create a new DisclosureMenu instance for testing.
const menu = new DisclosureMenu({
menuElement: document.querySelector("ul"),
submenuItemSelector: "li.dropdown",
containerElement: document.querySelector("nav"),
controllerElement: document.querySelector("button"),
});
Expand All @@ -202,7 +194,6 @@ describe("DisclosureMenu", () => {
// Create a new DisclosureMenu instance for testing.
const menu = new DisclosureMenu({
menuElement: document.querySelector("ul"),
submenuItemSelector: "li.dropdown",
containerElement: document.querySelector("nav"),
controllerElement: document.querySelector("button"),
});
Expand All @@ -222,7 +213,6 @@ describe("DisclosureMenu", () => {
// Create a new DisclosureMenu instance for testing.
const menu = new DisclosureMenu({
menuElement: document.querySelector("ul"),
submenuItemSelector: "li.dropdown",
containerElement: document.querySelector("nav"),
controllerElement: document.querySelector("button"),
});
Expand All @@ -244,7 +234,6 @@ describe("DisclosureMenu", () => {
// Create a new DisclosureMenu instance for testing.
const menu = new DisclosureMenu({
menuElement: document.querySelector("ul"),
submenuItemSelector: "li.dropdown",
containerElement: document.querySelector("nav"),
controllerElement: document.querySelector("button"),
});
Expand All @@ -263,7 +252,6 @@ describe("DisclosureMenu", () => {
// Create a new DisclosureMenu instance for testing.
const menu = new DisclosureMenu({
menuElement: document.querySelector("ul"),
submenuItemSelector: "li.dropdown",
containerElement: document.querySelector("nav"),
controllerElement: document.querySelector("button"),
});
Expand All @@ -279,7 +267,6 @@ describe("DisclosureMenu", () => {
// Create a new DisclosureMenu instance for testing.
const menu = new DisclosureMenu({
menuElement: document.querySelector("ul"),
submenuItemSelector: "li.dropdown",
containerElement: document.querySelector("nav"),
controllerElement: document.querySelector("button"),
});
Expand All @@ -295,7 +282,6 @@ describe("DisclosureMenu", () => {
// Create a new DisclosureMenu instance for testing.
const menu = new DisclosureMenu({
menuElement: document.querySelector("ul"),
submenuItemSelector: "li.dropdown",
containerElement: document.querySelector("nav"),
controllerElement: document.querySelector("button"),
});
Expand All @@ -312,7 +298,6 @@ describe("DisclosureMenu", () => {
// Create a new DisclosureMenu instance for testing.
const menu = new DisclosureMenu({
menuElement: document.querySelector("ul"),
submenuItemSelector: "li.dropdown",
containerElement: document.querySelector("nav"),
controllerElement: document.querySelector("button"),
});
Expand All @@ -328,7 +313,6 @@ describe("DisclosureMenu", () => {
// Create a new DisclosureMenu instance for testing.
const menu = new DisclosureMenu({
menuElement: document.querySelector("ul"),
submenuItemSelector: "li.dropdown",
containerElement: document.querySelector("nav"),
controllerElement: document.querySelector("button"),
});
Expand All @@ -348,7 +332,6 @@ describe("DisclosureMenu", () => {
// Create a new DisclosureMenu instance for testing.
const menu = new DisclosureMenu({
menuElement: document.querySelector("ul"),
submenuItemSelector: "li.dropdown",
containerElement: document.querySelector("nav"),
controllerElement: document.querySelector("button"),
});
Expand All @@ -367,7 +350,6 @@ describe("DisclosureMenu", () => {
// Create a new DisclosureMenu instance for testing.
const menu = new DisclosureMenu({
menuElement: document.querySelector("ul"),
submenuItemSelector: "li.dropdown",
containerElement: document.querySelector("nav"),
controllerElement: document.querySelector("button"),
});
Expand All @@ -387,7 +369,6 @@ describe("DisclosureMenu", () => {
// Create a new DisclosureMenu instance for testing.
const menu = new DisclosureMenu({
menuElement: document.querySelector("ul"),
submenuItemSelector: "li.dropdown",
containerElement: document.querySelector("nav"),
controllerElement: document.querySelector("button"),
});
Expand All @@ -406,7 +387,6 @@ describe("DisclosureMenu", () => {
// Create a new DisclosureMenu instance for testing.
const menu = new DisclosureMenu({
menuElement: document.querySelector("ul"),
submenuItemSelector: "li.dropdown",
containerElement: document.querySelector("nav"),
controllerElement: document.querySelector("button"),
});
Expand All @@ -426,7 +406,6 @@ describe("DisclosureMenu", () => {
// Create a new DisclosureMenu instance for testing.
const menu = new DisclosureMenu({
menuElement: document.querySelector("ul"),
submenuItemSelector: "li.dropdown",
containerElement: document.querySelector("nav"),
controllerElement: document.querySelector("button"),
});
Expand Down
Loading

0 comments on commit 2dc571e

Please sign in to comment.