From 63364c2cccb937b9ab7ac0692747d0b83ddbbc02 Mon Sep 17 00:00:00 2001 From: Nathanael Brown Date: Mon, 20 May 2024 14:54:25 +0100 Subject: [PATCH] Altered expect to match output form focusable elements --- src/app/components/dom/domhandler.spec.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/components/dom/domhandler.spec.ts b/src/app/components/dom/domhandler.spec.ts index b32db302fa8..e472ba31355 100755 --- a/src/app/components/dom/domhandler.spec.ts +++ b/src/app/components/dom/domhandler.spec.ts @@ -74,7 +74,7 @@ describe('DomHandler', () => { element.appendChild(childEl3); element.appendChild(childEl4); document.body.appendChild(element); - expect(DomHandler.getFocusableElements(element).length).toEqual(2); + expect(DomHandler.getFocusableElements(element).length).toEqual(1); }); it('should get the next focusable element', () => {