From 7db224f689ad300a6f4707c3f0c32b52268d46c2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bar=C4=B1=C5=9F=20Soner=20U=C5=9Fakl=C4=B1?= Date: Sun, 11 Oct 2020 22:40:28 -0400 Subject: [PATCH] fix: timeago test for dev/prod --- test/controllers.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/controllers.js b/test/controllers.js index 5953c73e60f7..d316cac0aa1d 100644 --- a/test/controllers.js +++ b/test/controllers.js @@ -1842,7 +1842,7 @@ describe('Controllers', function () { request(nconf.get('url') + '/assets/src/modules/timeago/locales/jquery.timeago.af.js', function (err, res, body) { assert.ifError(err); assert.equal(res.statusCode, 200); - assert(body.includes('suffixAgo:"gelede"')); + assert(body.includes('"gelede"')); done(); }); });