We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4199e62 commit 9a75961Copy full SHA for 9a75961
src/middlewares/__tests__/batch-test.js
@@ -456,7 +456,7 @@ describe('middlewares/batch', () => {
456
matcher: '/graphql/batch',
457
response: {
458
status: 200,
459
- body: [{ data: {} }, { data: {} }],
+ body: [{ data: {} }, { data: {} }, { data: {} }],
460
},
461
method: 'POST',
462
});
@@ -475,7 +475,7 @@ describe('middlewares/batch', () => {
475
476
const rnl = new RelayNetworkLayer([
477
batchMiddleware({
478
- allowOperation: (op) => !['abc', 'def'].includes(op.name),
+ allowOperation: (op) => !['abc', 'def'].includes(op.query),
479
}),
480
]);
481
await Promise.all([
0 commit comments