From 8607ff2f4a5d0f523f57c589378256a626b62c97 Mon Sep 17 00:00:00 2001 From: Lovell Fuller Date: Mon, 18 Aug 2025 10:33:32 +0100 Subject: [PATCH] Tests: remove extraneous use of toColourspace --- test/unit/extractChannel.js | 1 - 1 file changed, 1 deletion(-) diff --git a/test/unit/extractChannel.js b/test/unit/extractChannel.js index 59c53600..2d19588a 100644 --- a/test/unit/extractChannel.js +++ b/test/unit/extractChannel.js @@ -82,7 +82,6 @@ describe('Image channel extraction', function () { const output = fixtures.path('output.extract-alpha-2-channel.png'); sharp(fixtures.inputPngWithGreyAlpha) .extractChannel('alpha') - .toColourspace('b-w') .toFile(output, function (err, info) { if (err) throw err; assert.strictEqual(1, info.channels);