Node.js based forum software built for the modern web
fix: upload test for latest sharp
Barış Soner Uşaklı424db9ff375f
diff --git a/test/uploads.js b/test/uploads.jsindex f299cba39e..33e55be9a0 100644--- a/test/uploads.js+++ b/test/uploads.js@@ -230,7 +230,7 @@ describe('Upload Controllers', () => {it('should fail if file is missing', (done) => {image.size(path.join(__dirname, '../test/files/doesnotexist.png'), (err) => {- assert.strictEqual(err.message, 'Input file is missing');+ assert(err.message.startsWith('Input file is missing'));done();});});