diff --git a/packages/nimble-components/src/anchor-tabs/tests/anchor-tabs.spec.ts b/packages/nimble-components/src/anchor-tabs/tests/anchor-tabs.spec.ts index 2cb495a87f..62fadfc126 100644 --- a/packages/nimble-components/src/anchor-tabs/tests/anchor-tabs.spec.ts +++ b/packages/nimble-components/src/anchor-tabs/tests/anchor-tabs.spec.ts @@ -348,9 +348,9 @@ describe('AnchorTabs', () => { expect(document.activeElement).toBe( tab(value.expectedFinalFocusIndex) ); - expect(tab(value.expectedFinalFocusIndex).ariaSelected).toBe( - 'true' - ); + expect( + tab(value.expectedFinalFocusIndex).ariaSelected + ).toBe('true'); }); }); });