mirror of
https://github.com/lovell/sharp.git
synced 2025-07-09 18:40:16 +02:00
Requires libvips cache to be disabled for tests Skip tiff/magick tests when format unavailable
10 lines
238 B
JavaScript
10 lines
238 B
JavaScript
'use strict';
|
|
|
|
var sharp = require('../../index');
|
|
|
|
// Define SHARP_TEST_WITHOUT_CACHE environment variable to prevent use of libvips' cache
|
|
|
|
beforeEach(function() {
|
|
sharp.cache(process.env.SHARP_TEST_WITHOUT_CACHE ? false : true);
|
|
});
|