mirror of
https://github.com/discourse/discourse.git
synced 2025-05-22 16:21:18 +08:00
DEV: Autofix (w/ manual follow up) various qunit lints (#29950)
This commit is contained in:
@ -21,6 +21,6 @@ module("Integration | Component | da-boolean-field", function (hooks) {
|
||||
await click("input");
|
||||
|
||||
assert.dom("input").isChecked();
|
||||
assert.strictEqual(this.field.metadata.value, true);
|
||||
assert.true(this.field.metadata.value);
|
||||
});
|
||||
});
|
||||
|
@ -22,6 +22,6 @@ module("Integration | Component | da-date-time-field", function (hooks) {
|
||||
);
|
||||
await fillIn("input", "2023-10-03T12:34");
|
||||
|
||||
assert.ok(this.field.metadata.value !== null);
|
||||
assert.notStrictEqual(this.field.metadata.value, null);
|
||||
});
|
||||
});
|
||||
|
Reference in New Issue
Block a user