From 78a15c904fde7ca60c861e054977d2f6cc8f641e Mon Sep 17 00:00:00 2001 From: Yuliia Naumenko Date: Fri, 13 Nov 2020 14:55:09 -0800 Subject: [PATCH] Fixed jest test --- x-pack/plugins/alerts/server/alert_type_registry.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/x-pack/plugins/alerts/server/alert_type_registry.test.ts b/x-pack/plugins/alerts/server/alert_type_registry.test.ts index fee32ab498399..8dc387f96addb 100644 --- a/x-pack/plugins/alerts/server/alert_type_registry.test.ts +++ b/x-pack/plugins/alerts/server/alert_type_registry.test.ts @@ -117,7 +117,7 @@ describe('register()', () => { expect(() => registry.register(alertType)).toThrowError( new Error( - `Alert type by id ${alertType.id} cannot be registered. Action groups [resolved] is reserved by framework.` + `Alert type [id="${alertType.id}"] cannot be registered. Action groups [resolved] are reserved by the framework.` ) ); });