build dist for rounding fix
This commit is contained in:
@@ -4185,7 +4185,7 @@ getJasmineRequireObj().toBeCloseTo = function() {
|
|||||||
var maxDelta = Math.pow(10, -precision) / 2;
|
var maxDelta = Math.pow(10, -precision) / 2;
|
||||||
|
|
||||||
return {
|
return {
|
||||||
pass: Math.round(delta * pow) / pow <= maxDelta
|
pass: Math.round(delta * pow) <= maxDelta * pow
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user