From 756fa05c46ae4bdcff4181b7c9efd2d0a10be7fd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Niels=20Lyngs=C3=B8?= Date: Thu, 9 Jan 2025 20:04:11 +0100 Subject: [PATCH] improve test --- .../packages/core/router/contexts/route-path-addendum.test.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Umbraco.Web.UI.Client/src/packages/core/router/contexts/route-path-addendum.test.ts b/src/Umbraco.Web.UI.Client/src/packages/core/router/contexts/route-path-addendum.test.ts index 2a9582aac5..fac1b1443f 100644 --- a/src/Umbraco.Web.UI.Client/src/packages/core/router/contexts/route-path-addendum.test.ts +++ b/src/Umbraco.Web.UI.Client/src/packages/core/router/contexts/route-path-addendum.test.ts @@ -103,7 +103,6 @@ describe('UmbRoutepathAddendum', () => { }); it('returns late set child addendum', (done) => { - addendumContext.setAddendum('hello/here'); const innerChild = new UmbTestChildElement(); child.appendChild(innerChild); const childAddendumContext = new UmbRoutePathAddendumContext(innerChild); @@ -116,6 +115,8 @@ describe('UmbRoutepathAddendum', () => { }); childAddendumContext.setAddendum('child-specification'); + + addendumContext.setAddendum('hello/here'); }); }); });