diff --git a/src/internal/single-tab-stop/__tests__/context.test.tsx b/src/internal/single-tab-stop/__tests__/context.test.tsx index cf5f413..9295f48 100644 --- a/src/internal/single-tab-stop/__tests__/context.test.tsx +++ b/src/internal/single-tab-stop/__tests__/context.test.tsx @@ -11,7 +11,11 @@ import { SingleTabStopNavigationReset, useSingleTabStopNavigation, } from '../'; -import { renderWithSingleTabStopNavigation } from './utils'; +import { + setTestSingleTabStopNavigationTarget, + renderWithSingleTabStopNavigation, + TestSingleTabStopNavigationProvider, +} from '../test-helpers'; // Simple STSN subscriber component function Button(props: React.HTMLAttributes) { @@ -56,6 +60,15 @@ function findGroupButton(groupId: string, buttonIndex: number) { } test('does not override tab index when keyboard navigation is not active', () => { + render( + +