Skip to content

Commit 2df5a35

Browse files
committed
fixup! test(cdk-experimental/listbox): add unit tests
1 parent 25b6136 commit 2df5a35

File tree

2 files changed

+2
-12
lines changed

2 files changed

+2
-12
lines changed

src/cdk-experimental/listbox/listbox.spec.ts

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,9 @@
11
import {Component, DebugElement, signal} from '@angular/core';
22
import {CdkListbox, CdkOption} from './listbox';
3-
import {
4-
ComponentFixture,
5-
TestBed,
6-
fakeAsync,
7-
tick,
8-
discardPeriodicTasks,
9-
} from '@angular/core/testing';
3+
import {ComponentFixture, TestBed, fakeAsync, tick} from '@angular/core/testing';
104
import {By} from '@angular/platform-browser';
115
import {BidiModule, Direction} from '@angular/cdk/bidi';
12-
import {provideFakeDirectionality} from '@angular/cdk/testing/private';
13-
import {runAccessibilityChecks} from '@angular/cdk/testing/private';
6+
import {provideFakeDirectionality, runAccessibilityChecks} from '@angular/cdk/testing/private';
147

158
interface ModifierKeys {
169
ctrlKey?: boolean;

src/cdk-experimental/listbox/listbox.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -110,9 +110,6 @@ export class CdkListbox<V> {
110110
/** Whether the listbox has received focus yet. */
111111
private _hasFocused = signal(false);
112112

113-
/** Whether the options in the listbox have been initialized. */
114-
private _isViewInitialized = signal(false);
115-
116113
constructor() {
117114
afterRenderEffect(() => {
118115
if (typeof ngDevMode === 'undefined' || ngDevMode) {

0 commit comments

Comments
 (0)