chore: add another assert to check output entities
Signed-off-by: blam <ben@blam.sh>
This commit is contained in:
@@ -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',
|
||||
},
|
||||
}),
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user