zjsunit: Use assert in strict mode.

This makes assert.equal and assert.deepEqual compare using === rather
than ==, to catch more bugs.

https://nodejs.org/api/assert.html#assert_strict_mode

Signed-off-by: Anders Kaseorg <anders@zulipchat.com>
This commit is contained in:
Anders Kaseorg
2020-02-12 02:49:02 -08:00
committed by showell
parent d16a730d81
commit 72dddb7af6
14 changed files with 48 additions and 49 deletions

View File

@@ -82,7 +82,7 @@ exports.last_seen_status_from_date = function (last_active_date, current_date) {
const days = Math.floor(hours / 24);
if (days === 1) {
return [i18n.t("Yesterday")];
return i18n.t("Yesterday");
}
if (days < 90) {