diff --git a/test/posts.js b/test/posts.js index 4fce2f2ff5..2ba85734d4 100644 --- a/test/posts.js +++ b/test/posts.js @@ -765,7 +765,7 @@ describe('Post\'s', () => { const nconf = require('nconf'); const content = 'test youtube'; const parsedContent = posts.relativeToAbsolute(content, posts.urlRegex); - assert.equal(parsedContent, `test youtube`); + assert.equal(parsedContent, `test youtube`); done(); }); @@ -774,7 +774,7 @@ describe('Post\'s', () => { const content = 'test youtube some test '; let parsedContent = posts.relativeToAbsolute(content, posts.urlRegex); parsedContent = posts.relativeToAbsolute(parsedContent, posts.imgRegex); - assert.equal(parsedContent, `test youtube some test `); + assert.equal(parsedContent, `test youtube some test `); done(); }); });