replace jest with ava

This commit is contained in:
Robert Brignull 2020-05-04 18:50:13 +01:00
parent 27cc8b23fe
commit 0347b72305
11775 changed files with 84546 additions and 1440575 deletions

13
node_modules/chunkd/dist/chunkd.js generated vendored Normal file
View file

@ -0,0 +1,13 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
function chunkd(array, index, total) {
let length = array.length;
let size = Math.floor(length / total);
let remainder = length % total;
let offset = Math.min(index, remainder) + index * size;
let chunk = size + (index < remainder ? 1 : 0);
return array.slice(offset, offset + chunk);
}
exports.default = chunkd;
module.exports = chunkd;
//# sourceMappingURL=chunkd.js.map