MCPcopy
hub / github.com/angular/components / setupTestTabs

Function setupTestTabs

src/aria/tabs/tabs.spec.ts:71–81  ·  view source on GitHub ↗
(options: {textDirection?: Direction} = {})

Source from the content-addressed store, hash-verified

69 const end = async (modifierKeys?: ModifierKeys) => await keydown('End', modifierKeys);
70
71 async function setupTestTabs(options: {textDirection?: Direction} = {}) {
72 TestBed.configureTestingModule({
73 providers: [provideFakeDirectionality(options.textDirection ?? 'ltr')],
74 });
75
76 fixture = TestBed.createComponent(TestTabsComponent);
77 testComponent = fixture.componentInstance;
78
79 await fixture.whenStable();
80 defineTestVariables();
81 }
82
83 async function updateTabs(
84 options: {

Callers 1

tabs.spec.tsFile · 0.85

Calls 2

defineTestVariablesFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…