mirror of
https://github.com/discourse/discourse.git
synced 2025-05-21 18:12:32 +08:00
DEV: Convert more equal
assertions (#29554)
…to either qunit-dom or `strictEqual`
This commit is contained in:
@ -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"
|
||||
|
Reference in New Issue
Block a user