chore: add another assert to check output entities

Signed-off-by: blam <ben@blam.sh>
This commit is contained in:
blam
2025-01-16 08:57:14 +01:00
parent a68c0b0ec3
commit 22dfc63404
@@ -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',
},
}),
});
});
});