From a9eff0c1b4b63ceff04769d965e0d0df6816442a Mon Sep 17 00:00:00 2001 From: Jonah Grimes Date: Wed, 31 Mar 2021 15:42:01 -0400 Subject: [PATCH] fixed failing tests Signed-off-by: Jonah Grimes --- .../processors/BuiltinKindsEntityProcessor.test.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/plugins/catalog-backend/src/ingestion/processors/BuiltinKindsEntityProcessor.test.ts b/plugins/catalog-backend/src/ingestion/processors/BuiltinKindsEntityProcessor.test.ts index ad446c6a7a..a86acc3138 100644 --- a/plugins/catalog-backend/src/ingestion/processors/BuiltinKindsEntityProcessor.test.ts +++ b/plugins/catalog-backend/src/ingestion/processors/BuiltinKindsEntityProcessor.test.ts @@ -186,7 +186,7 @@ describe('BuiltinKindsEntityProcessor', () => { await expect( processor.postProcessEntity(entity, location, emit), ).rejects.toThrowError( - 'Entity reference kind is undefined and has no default', + 'Entity reference "r" did not specify a kind (e.g. starting with "Component:"), and has no default', ); }); @@ -334,14 +334,14 @@ describe('BuiltinKindsEntityProcessor', () => { spec: { type: 'database', owner: 'o', - dependsOn: ['r'], + dependsOn: ['c'], system: 's', }, }; await expect( processor.postProcessEntity(entity, location, emit), ).rejects.toThrowError( - 'Entity reference kind is undefined and has no default', + 'Entity reference "c" did not specify a kind (e.g. starting with "Component:"), and has no default', ); });