diff --git a/apps/api/test/http.integration.test.js b/apps/api/test/http.integration.test.js index cf1d1a1..22bce87 100644 --- a/apps/api/test/http.integration.test.js +++ b/apps/api/test/http.integration.test.js @@ -180,6 +180,9 @@ test("admin can install doors industry template through the shared runtime contr body.runtimeCapabilities.map((item) => item.key), ["offerings", "inquiry"], ); + assert.ok(Array.isArray(body.offerings)); + assert.ok(Array.isArray(body.fields)); + assert.ok(body.fields.every((field) => typeof field.key === "string")); } finally { await prisma.brandFieldDefinition.deleteMany({ where: { brandId } }); await prisma.brandModule.deleteMany({ where: { brandId } });