Remove use of deprecated functions from test code

This commit is contained in:
Lovell Fuller
2016-11-04 10:18:25 +00:00
parent 55998707a5
commit deb978bf57
7 changed files with 254 additions and 238 deletions

View File

@@ -17,7 +17,7 @@ describe('Colour space conversion', function () {
sharp(fixtures.inputJpg)
.resize(320, 240)
.gamma()
.greyscale()
.grayscale()
.toFile(fixtures.path('output.greyscale-gamma-2.2.jpg'), done);
});