mirror of
https://github.com/lovell/sharp.git
synced 2025-12-19 07:15:08 +01:00
Bump dev dependencies
This commit is contained in:
@@ -7,7 +7,7 @@ const sharp = require('../../');
|
||||
const fixtures = require('../fixtures');
|
||||
|
||||
// Test Helpers
|
||||
var threshold = 0.001;
|
||||
const threshold = 0.001;
|
||||
function isInAcceptableRange (actual, expected) {
|
||||
return actual >= ((1 - threshold) * expected) && actual <= ((1 + threshold) * expected);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user