diff --git a/packages/batch-delegate/tests/arrayBatchMerge.test.ts b/packages/batch-delegate/tests/arrayBatchMerge.test.ts index 5f2430b4e4e..74893e17398 100644 --- a/packages/batch-delegate/tests/arrayBatchMerge.test.ts +++ b/packages/batch-delegate/tests/arrayBatchMerge.test.ts @@ -75,7 +75,7 @@ describe('batch delegation', () => { fieldName: 'books', key: ({ id }) => id, argsFromKeys: ids => ({ id: ids }), - valuesFromResults: ({ results }, keys) => { + valuesFromResults: (results, keys) => { const response = Object.fromEntries(results.map((r: any) => [r.id, r])); return keys.map(key => response[key] ?? { id: key });