Add cache recommendations for use with Alpine/musl #354

Prevent Windows EBUSY errors during tests
This commit is contained in:
Lovell Fuller
2016-02-11 20:33:21 +00:00
parent 2a56de69cc
commit 2d05804fc3
5 changed files with 10 additions and 7 deletions

View File

@@ -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);
});

View File

@@ -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);
});