DEV: Convert more notOk assertions (#29556)

…to either qunit-dom or `strictEqual`
This commit is contained in:
Jarek Radosz
2024-11-04 10:27:30 +01:00
committed by GitHub
parent 693a4e691b
commit 9694d2477a
36 changed files with 133 additions and 141 deletions

View File

@ -108,9 +108,9 @@ module("lib:date-with-zone-helper", function () {
timezone: PARIS,
});
assert.notOk(date.isDST());
assert.false(date.isDST());
futureLocalDate = date.add(8, "months");
assert.notOk(futureLocalDate.isDST());
assert.false(futureLocalDate.isDST());
assert.strictEqual(
futureLocalDate.format(),
"2020-11-19T15:36:00.000+01:00",
@ -140,7 +140,7 @@ module("lib:date-with-zone-helper", function () {
minute: 36,
timezone: PARIS,
});
assert.notOk(date.isDST());
assert.false(date.isDST());
futureLocalDate = date.add(1, "week");
assert.ok(futureLocalDate.isDST());
assert.strictEqual(
@ -159,7 +159,7 @@ module("lib:date-with-zone-helper", function () {
assert.ok(date.isDST());
futureLocalDate = date.add(8, "months");
assert.notOk(futureLocalDate.isDST());
assert.false(futureLocalDate.isDST());
assert.strictEqual(
futureLocalDate.format(),
"2020-12-01T15:36:00.000+01:00",