MCPcopy
hub / github.com/parse-community/parse-server / numberArray

Function numberArray

spec/ParseGraphQLServer.spec.js:5545–5551  ·  view source on GitHub ↗
(first, last)

Source from the content-addressed store, hash-verified

5543
5544 it_id('588a70c6-2932-4d3b-a838-a74c59d8cffb')(it)('should support pagination', async () => {
5545 const numberArray = (first, last) => {
5546 const array = [];
5547 for (let i = first; i <= last; i++) {
5548 array.push(i);
5549 }
5550 return array;
5551 };
5552
5553 const promises = [];
5554 for (let i = 0; i < 100; i++) {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected