Skip to content

Commit

Permalink
Altered expect to match output form focusable elements
Browse files Browse the repository at this point in the history
  • Loading branch information
nbrown-ScottLogic committed May 20, 2024
1 parent c42b73b commit 63364c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/components/dom/domhandler.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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', () => {
Expand Down

0 comments on commit 63364c2

Please sign in to comment.