DEV: Convert more equal assertions (#29554)

…to either qunit-dom or `strictEqual`
This commit is contained in:
Jarek Radosz
2024-11-03 21:04:38 +01:00
committed by GitHub
parent d2056c7fc6
commit b81055a6d4
33 changed files with 165 additions and 198 deletions

View File

@ -2,7 +2,7 @@ import { render } from "@ember/test-helpers";
import { hbs } from "ember-cli-htmlbars";
import { module, test } from "qunit";
import { setupRenderingTest } from "discourse/tests/helpers/component-test";
import { exists, query } from "discourse/tests/helpers/qunit-helpers";
import { exists } from "discourse/tests/helpers/qunit-helpers";
module("Integration | Component | email-group-user-field", function (hooks) {
setupRenderingTest(hooks);
@ -12,7 +12,7 @@ module("Integration | Component | email-group-user-field", function (hooks) {
await render(template);
assert.equal(query(".control-label").innerText, "a label");
assert.dom(".control-label").hasText("a label");
assert.ok(
exists(
".controls details.select-kit.multi-select.user-chooser.email-group-user-chooser"