diff --git a/packages/integration-tests/tests/api/batches.test.ts b/packages/integration-tests/tests/api/batches.test.ts index 362cc05990..299d16d5a8 100644 --- a/packages/integration-tests/tests/api/batches.test.ts +++ b/packages/integration-tests/tests/api/batches.test.ts @@ -34,7 +34,7 @@ describe("/batches", () => { .expect((res) => expect(typeof res.body.items[0].size).toStrictEqual("number")) .expect((res) => expect(res.body.items[0].size).toBeGreaterThanOrEqual(0)) .expect((res) => expect(typeof res.body.items[0].status).toStrictEqual("string")) - .expect((res) => expect(res.body.items[0]).toStrictEqual(expect.objectContaining({ status: "sealed" }))) + .expect((res) => expect(res.body.items[0].status.length).toBeGreaterThanOrEqual(6)) .expect((res) => expect(typeof res.body.meta.totalItems).toStrictEqual("number")) .expect((res) => expect(typeof res.body.meta.itemCount).toStrictEqual("number")) .expect((res) => expect(typeof res.body.meta.itemsPerPage).toStrictEqual("number"))