@@ -3,7 +3,7 @@ import {ComponentFixture, TestBed, waitForAsync} from '@angular/core/testing';
33import { By } from '@angular/platform-browser' ;
44import { CdkComboboxModule } from './combobox-module' ;
55import { CdkCombobox } from './combobox' ;
6- import { dispatchKeyboardEvent , dispatchMouseEvent } from '../.. /cdk/testing/private' ;
6+ import { dispatchKeyboardEvent , dispatchMouseEvent } from '@angular /cdk/testing/private' ;
77import { DOWN_ARROW , ESCAPE } from '@angular/cdk/keycodes' ;
88import { CdkComboboxPopup } from '@angular/cdk-experimental/combobox/combobox-popup' ;
99
@@ -25,8 +25,7 @@ describe('Combobox', () => {
2525
2626 beforeEach ( waitForAsync ( ( ) => {
2727 TestBed . configureTestingModule ( {
28- imports : [ CdkComboboxModule ] ,
29- declarations : [ ComboboxToggle ] ,
28+ imports : [ CdkComboboxModule , ComboboxToggle ] ,
3029 } ) . compileComponents ( ) ;
3130 } ) ) ;
3231
@@ -189,8 +188,7 @@ describe('Combobox', () => {
189188
190189 beforeEach ( waitForAsync ( ( ) => {
191190 TestBed . configureTestingModule ( {
192- imports : [ CdkComboboxModule ] ,
193- declarations : [ ComboboxToggle ] ,
191+ imports : [ CdkComboboxModule , ComboboxToggle ] ,
194192 } ) . compileComponents ( ) ;
195193 } ) ) ;
196194
@@ -260,8 +258,7 @@ describe('Combobox', () => {
260258
261259 beforeEach ( waitForAsync ( ( ) => {
262260 TestBed . configureTestingModule ( {
263- imports : [ CdkComboboxModule ] ,
264- declarations : [ ComboboxToggle ] ,
261+ imports : [ CdkComboboxModule , ComboboxToggle ] ,
265262 } ) . compileComponents ( ) ;
266263 } ) ) ;
267264
@@ -385,6 +382,8 @@ describe('Combobox', () => {
385382 <button id="applyButton" (click)="toggleCombobox.updateAndClose(input.value)">Apply</button>
386383 </div>
387384 </ng-template>` ,
385+ standalone : true ,
386+ imports : [ CdkComboboxModule ] ,
388387} )
389388class ComboboxToggle {
390389 @ViewChild ( 'input' ) inputElement : ElementRef < HTMLInputElement > ;
0 commit comments