From 3e7633e7919eece94ce92b98e7306d3f0205259f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bar=C4=B1=C5=9F=20Soner=20U=C5=9Fakl=C4=B1?= Date: Wed, 11 Jan 2023 16:52:25 -0500 Subject: [PATCH] test: helper test fix --- test/template-helpers.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/template-helpers.js b/test/template-helpers.js index de06d74109..25829587f7 100644 --- a/test/template-helpers.js +++ b/test/template-helpers.js @@ -77,7 +77,7 @@ describe('helpers', () => { imageClass: 'auto', }; const bg = helpers.generateCategoryBackground(category); - assert.equal(bg, 'background-color: #ff0000; color: #00ff00; background-image: url(/assets/uploads/image.png); background-size: auto;'); + assert.equal(bg, 'background-color: #ff0000; border-color: #ff0000!important; color: #00ff00; background-image: url(/assets/uploads/image.png); background-size: auto;'); done(); }); @@ -102,7 +102,7 @@ describe('helpers', () => { ], }; const html = helpers.generateChildrenCategories(category); - assert.equal(html, `children`); + assert.equal(html, `children`); done(); });