Skip to content

Commit e8bf5f7

Browse files
committed
more check in test
1 parent cc813c6 commit e8bf5f7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/integration/SplitPdfHook.test.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -439,6 +439,7 @@ describe("SplitPDF async can be used to send multiple files concurrently", () =>
439439
},
440440
});
441441
expect(res.statusCode).toEqual(200);
442+
expect(res.elements?.length).toBeGreaterThan(0);
442443
if (res.elements) {
443444
serialElements.push(res.elements);
444445
}
@@ -454,6 +455,7 @@ describe("SplitPDF async can be used to send multiple files concurrently", () =>
454455

455456
for (const res of concurrentResponses) {
456457
expect(res.statusCode).toEqual(200);
458+
expect(res.elements?.length).toBeGreaterThan(0);
457459
if (res.elements) {
458460
concurrentElements.push(res.elements);
459461
}

0 commit comments

Comments
 (0)