mirror of
https://github.com/lovell/sharp.git
synced 2025-07-10 19:10:14 +02:00
Tests: small speed up to a couple of tile-related tests
This commit is contained in:
parent
447aec3fde
commit
955b5f43a5
@ -613,7 +613,7 @@ describe('Tile', function () {
|
|||||||
rimraf(directory, function () {
|
rimraf(directory, function () {
|
||||||
sharp(fixtures.inputJpg)
|
sharp(fixtures.inputJpg)
|
||||||
.png({
|
.png({
|
||||||
compressionLevel: 1
|
compressionLevel: 0
|
||||||
})
|
})
|
||||||
.tile({
|
.tile({
|
||||||
layout: 'google'
|
layout: 'google'
|
||||||
@ -650,7 +650,8 @@ describe('Tile', function () {
|
|||||||
rimraf(directory, function () {
|
rimraf(directory, function () {
|
||||||
sharp(fixtures.inputJpg)
|
sharp(fixtures.inputJpg)
|
||||||
.webp({
|
.webp({
|
||||||
quality: 1
|
quality: 1,
|
||||||
|
reductionEffort: 0
|
||||||
})
|
})
|
||||||
.tile({
|
.tile({
|
||||||
layout: 'google'
|
layout: 'google'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user