mirror of
https://github.com/zulip/zulip.git
synced 2025-10-23 04:52:12 +00:00
node_tests: Fixed failing rendered_markdown tests.
Follow up of #16451, since the changes in blueslip were still referring to Moment as a library within the markdown.
This commit is contained in:
committed by
Anders Kaseorg
parent
4b6a807925
commit
ba197ec97e
@@ -172,7 +172,7 @@ run_test("timestamp", () => {
|
||||
const $timestamp_invalid = $.create("timestamp(invalid)");
|
||||
$timestamp_invalid.attr("datetime", "invalid");
|
||||
$content.set_find_results("time", $array([$timestamp, $timestamp_invalid]));
|
||||
blueslip.expect("error", "Moment could not parse datetime supplied by backend: invalid");
|
||||
blueslip.expect("error", "Could not parse datetime supplied by backend: invalid");
|
||||
|
||||
// Initial asserts
|
||||
assert.equal($timestamp.text(), "never-been-set");
|
||||
|
Reference in New Issue
Block a user