diff --git a/app/assets/javascripts/discourse/tests/integration/components/float-kit/d-menu-test.js b/app/assets/javascripts/discourse/tests/integration/components/float-kit/d-menu-test.js index d0caf5500f0..f94fadce570 100644 --- a/app/assets/javascripts/discourse/tests/integration/components/float-kit/d-menu-test.js +++ b/app/assets/javascripts/discourse/tests/integration/components/float-kit/d-menu-test.js @@ -88,7 +88,7 @@ module("Integration | Component | FloatKit | d-menu", function (hooks) { }); test("-expanded class", async function (assert) { - await render(hbs``); + await render(hbs``); assert.dom(".fk-d-menu__trigger").doesNotHaveClass("-expanded"); @@ -98,7 +98,7 @@ module("Integration | Component | FloatKit | d-menu", function (hooks) { }); test("trigger id attribute", async function (assert) { - await render(hbs``); + await render(hbs``); assert.dom(".fk-d-menu__trigger").hasAttribute("id"); }); @@ -116,7 +116,7 @@ module("Integration | Component | FloatKit | d-menu", function (hooks) { }); test("aria-expanded attribute", async function (assert) { - await render(hbs``); + await render(hbs``); assert.dom(".fk-d-menu__trigger").hasAttribute("aria-expanded", "false"); @@ -144,7 +144,7 @@ module("Integration | Component | FloatKit | d-menu", function (hooks) { }); test("content role attribute", async function (assert) { - await render(hbs``); + await render(hbs``); await open(); @@ -168,7 +168,7 @@ module("Integration | Component | FloatKit | d-menu", function (hooks) { }); test("content aria-labelledby attribute", async function (assert) { - await render(hbs``); + await render(hbs``); await open(); @@ -180,7 +180,7 @@ module("Integration | Component | FloatKit | d-menu", function (hooks) { test("@closeOnEscape", async function (assert) { await render( - hbs`` + hbs`` ); await open(); await triggerKeyEvent(document.activeElement, "keydown", "Escape"); @@ -188,7 +188,7 @@ module("Integration | Component | FloatKit | d-menu", function (hooks) { assert.dom(".fk-d-menu").doesNotExist(); await render( - hbs`` + hbs`` ); await open(); await triggerKeyEvent(document.activeElement, "keydown", "Escape"); @@ -198,7 +198,7 @@ module("Integration | Component | FloatKit | d-menu", function (hooks) { test("@closeOnClickOutside", async function (assert) { await render( - hbs`test` + hbs`test` ); await open(); await triggerEvent(".test", "pointerdown"); @@ -206,7 +206,7 @@ module("Integration | Component | FloatKit | d-menu", function (hooks) { assert.dom(".fk-d-menu").doesNotExist(); await render( - hbs`test` + hbs`test` ); await open(); await triggerEvent(".test", "pointerdown"); @@ -216,7 +216,7 @@ module("Integration | Component | FloatKit | d-menu", function (hooks) { test("@maxWidth", async function (assert) { await render( - hbs`` + hbs`` ); await open(); @@ -226,7 +226,7 @@ module("Integration | Component | FloatKit | d-menu", function (hooks) { }); test("applies position", async function (assert) { - await render(hbs``); + await render(hbs``); await open(); assert.dom(".fk-d-menu").hasAttribute("style", /left: /); diff --git a/app/assets/javascripts/discourse/tests/integration/components/float-kit/d-tooltip-test.js b/app/assets/javascripts/discourse/tests/integration/components/float-kit/d-tooltip-test.js index 946a29182eb..c308e7463ea 100644 --- a/app/assets/javascripts/discourse/tests/integration/components/float-kit/d-tooltip-test.js +++ b/app/assets/javascripts/discourse/tests/integration/components/float-kit/d-tooltip-test.js @@ -88,13 +88,13 @@ module("Integration | Component | FloatKit | d-tooltip", function (hooks) { }); test("trigger role attribute", async function (assert) { - await render(hbs``); + await render(hbs``); assert.dom(".fk-d-tooltip__trigger").hasAttribute("role", "button"); }); test("trigger id attribute", async function (assert) { - await render(hbs``); + await render(hbs``); assert.dom(".fk-d-tooltip__trigger").hasAttribute("id"); }); @@ -112,7 +112,7 @@ module("Integration | Component | FloatKit | d-tooltip", function (hooks) { }); test("aria-expanded attribute", async function (assert) { - await render(hbs``); + await render(hbs``); assert.dom(".fk-d-tooltip__trigger").hasAttribute("aria-expanded", "false"); @@ -123,7 +123,7 @@ module("Integration | Component | FloatKit | d-tooltip", function (hooks) { test("<:trigger>", async function (assert) { await render( - hbs`<:trigger>label` + hbs`<:trigger>label` ); assert.dom(".fk-d-tooltip__trigger").hasText("label"); @@ -131,7 +131,7 @@ module("Integration | Component | FloatKit | d-tooltip", function (hooks) { test("<:content>", async function (assert) { await render( - hbs`<:content>content` + hbs`<:content>content` ); await hover(); @@ -140,7 +140,7 @@ module("Integration | Component | FloatKit | d-tooltip", function (hooks) { }); test("content role attribute", async function (assert) { - await render(hbs``); + await render(hbs``); await hover(); @@ -164,7 +164,7 @@ module("Integration | Component | FloatKit | d-tooltip", function (hooks) { }); test("content aria-labelledby attribute", async function (assert) { - await render(hbs``); + await render(hbs``); await hover(); diff --git a/app/assets/javascripts/discourse/tests/integration/components/user-info-test.js b/app/assets/javascripts/discourse/tests/integration/components/user-info-test.js index bd3a5388d06..c324a22b7c7 100644 --- a/app/assets/javascripts/discourse/tests/integration/components/user-info-test.js +++ b/app/assets/javascripts/discourse/tests/integration/components/user-info-test.js @@ -125,7 +125,7 @@ module("Integration | Component | user-info", function (hooks) { this.currentUser.status = { emoji: "tooth", description: "off to dentist" }; await render( - hbs`` + hbs`` ); await triggerEvent(query(".user-status-message"), "mousemove");