node_tests: Fix suddenly failing tests for unknown reasons.

This commit is contained in:
Aman Agrawal 2021-01-02 05:19:48 +00:00 committed by Steve Howell
parent c7d329544b
commit 6f31a2d49f
2 changed files with 5 additions and 5 deletions

View File

@ -73,14 +73,14 @@ run_test("get_and_set_muted_topics", () => {
assert.deepEqual(muting.get_muted_topics().sort(), [
{
date_muted: 1577836800000,
date_muted_str: "Jan 01",
date_muted_str: "Jan\u00A001,\u00A02020",
stream: devel.name,
stream_id: devel.stream_id,
topic: "java",
},
{
date_muted: 1577836800000,
date_muted_str: "Jan 01",
date_muted_str: "Jan\u00A001,\u00A02020",
stream: office.name,
stream_id: office.stream_id,
topic: "gossip",
@ -99,14 +99,14 @@ run_test("get_and_set_muted_topics", () => {
assert.deepEqual(muting.get_muted_topics().sort(), [
{
date_muted: 1577836800000,
date_muted_str: "Jan 01",
date_muted_str: "Jan\u00A001,\u00A02020",
stream: social.name,
stream_id: social.stream_id,
topic: "breakfast",
},
{
date_muted: 1577836800000,
date_muted_str: "Jan 01",
date_muted_str: "Jan\u00A001,\u00A02020",
stream: design.name,
stream_id: design.stream_id,
topic: "typography",

View File

@ -31,7 +31,7 @@ run_test("settings", () => {
assert.deepEqual(opts, [
{
date_muted: 1577836800000,
date_muted_str: "Jan 01",
date_muted_str: "Jan\u00A001,\u00A02020",
stream: frontend.name,
stream_id: frontend.stream_id,
topic: "js",