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:
aryanshridhar
2021-02-06 01:34:41 +05:30
committed by Anders Kaseorg
parent 4b6a807925
commit ba197ec97e

View File

@@ -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");