mirror of
https://github.com/lovell/sharp.git
synced 2025-12-19 07:15:08 +01:00
Add cache recommendations for use with Alpine/musl #354
Prevent Windows EBUSY errors during tests
This commit is contained in:
@@ -8,10 +8,10 @@ var fixtures = require('../fixtures');
|
||||
|
||||
describe('Clone', function() {
|
||||
|
||||
before(function() {
|
||||
beforeEach(function() {
|
||||
sharp.cache(false);
|
||||
});
|
||||
after(function() {
|
||||
afterEach(function() {
|
||||
sharp.cache(true);
|
||||
});
|
||||
|
||||
|
||||
@@ -8,10 +8,10 @@ var fixtures = require('../fixtures');
|
||||
|
||||
describe('Input/output', function() {
|
||||
|
||||
before(function() {
|
||||
beforeEach(function() {
|
||||
sharp.cache(false);
|
||||
});
|
||||
after(function() {
|
||||
afterEach(function() {
|
||||
sharp.cache(true);
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user