mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
fix(tabs): enable keyboard wrapping and mark disabled tabs (#12218)
This commit is contained in:
committed by
Joey Perrott
parent
b5898281ca
commit
7f8fd9fc06
@@ -48,17 +48,11 @@ describe('tabs', () => {
|
||||
pressKeys(right);
|
||||
expect(await getFocusStates(tabLabels)).toEqual([false, false, true]);
|
||||
|
||||
pressKeys(right);
|
||||
expect(await getFocusStates(tabLabels)).toEqual([false, false, true]);
|
||||
|
||||
pressKeys(left);
|
||||
expect(await getFocusStates(tabLabels)).toEqual([false, true, false]);
|
||||
|
||||
pressKeys(left);
|
||||
expect(await getFocusStates(tabLabels)).toEqual([true, false, false]);
|
||||
|
||||
pressKeys(left);
|
||||
expect(await getFocusStates(tabLabels)).toEqual([true, false, false]);
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user