chore(): lint for trailing commas, fix tests with new types
This commit is contained in:
@@ -35,7 +35,7 @@ function promiseSleep(milliseconds) {
|
||||
// WARNING: for sensitive math you should be using a library such as decimal.js!
|
||||
function roundDown(value, decimals) {
|
||||
return Number(
|
||||
Math.floor(parseFloat(value + 'e' + decimals)) + 'e-' + decimals
|
||||
Math.floor(parseFloat(value + 'e' + decimals)) + 'e-' + decimals,
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user