From 102329c4d48452e38803e4100a12b4fda9705bed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Niels=20Lyngs=C3=B8?= Date: Mon, 2 Jan 2023 13:00:13 +0100 Subject: [PATCH] correct test --- .../src/core/context-api/provide/context-provider.test.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Umbraco.Web.UI.Client/src/core/context-api/provide/context-provider.test.ts b/src/Umbraco.Web.UI.Client/src/core/context-api/provide/context-provider.test.ts index 6909114ceb..0d864cd608 100644 --- a/src/Umbraco.Web.UI.Client/src/core/context-api/provide/context-provider.test.ts +++ b/src/Umbraco.Web.UI.Client/src/core/context-api/provide/context-provider.test.ts @@ -28,11 +28,11 @@ describe('UmbContextProvider', () => { describe('methods', () => { it('has an attach method', () => { - expect(provider).to.have.property('attach').that.is.a('function'); + expect(provider).to.have.property('hostConnected').that.is.a('function'); }); it('has a detach method', () => { - expect(provider).to.have.property('detach').that.is.a('function'); + expect(provider).to.have.property('hostDisconnected').that.is.a('function'); }); }); });