From 22dfc634047af9da6e3568af7fd9e1c87ab323d4 Mon Sep 17 00:00:00 2001 From: blam Date: Thu, 16 Jan 2025 08:57:14 +0100 Subject: [PATCH] chore: add another assert to check output entities Signed-off-by: blam --- plugins/catalog-backend/src/tests/integration.test.ts | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/plugins/catalog-backend/src/tests/integration.test.ts b/plugins/catalog-backend/src/tests/integration.test.ts index 5aa1a03f6e..3ef45c024d 100644 --- a/plugins/catalog-backend/src/tests/integration.test.ts +++ b/plugins/catalog-backend/src/tests/integration.test.ts @@ -971,5 +971,14 @@ describe('Catalog Backend Integration', () => { .where({ target_entity_ref: 'component:default/component-1' }) .select(), ).resolves.toEqual([]); + + await expect(harness.getOutputEntities()).resolves.toEqual({ + 'component:default/component-2': expect.objectContaining({ + spec: { + type: 'service', + owner: 'location-key', + }, + }), + }); }); });