mirror of
https://github.com/lovell/sharp.git
synced 2025-07-09 18:40:16 +02:00
10 lines
227 B
JavaScript
10 lines
227 B
JavaScript
'use strict';
|
|
|
|
const 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);
|
|
});
|