@@ -22,7 +22,7 @@ import { TestRunnerResolver } from './utils/test-runner-resolver';
2222 * declarations: [ComboboxComponent],
2323 * },
2424 * supportsOnBlur: true,
25- * getNativeControlSelector : 'input.combobox-input',
25+ * nativeControlSelector : 'input.combobox-input',
2626 * internalValueChangeSetter: (fixture, value) => {
2727 * fixture.componentInstance.setValue(value, true);
2828 * },
@@ -207,8 +207,8 @@ export function runValueAccessorTests<T extends CVAComponentType, H = T>(config:
207207 setupPlainValues ( ) ;
208208 let nativeControlDebugElement : DebugElement ;
209209 let nativeControl : EventTarget | undefined ;
210- if ( config . getNativeControlSelector ) {
211- nativeControlDebugElement = fixture . debugElement . query ( By . css ( config . getNativeControlSelector ) ) ;
210+ if ( config . nativeControlSelector ) {
211+ nativeControlDebugElement = fixture . debugElement . query ( By . css ( config . nativeControlSelector ) ) ;
212212 nativeControl = nativeControlDebugElement ?. nativeElement ;
213213 }
214214 expect ( nativeControl ) . toBeDefined ( ) ;
@@ -226,8 +226,8 @@ function getValues(): [string, string, string] {
226226}
227227
228228function validateConfig ( config : CVATestConfig < any > ) {
229- if ( config . supportsOnBlur && typeof config . getNativeControlSelector !== 'string' ) {
230- throw new Error ( 'Expected "getNativeControlSelector " to be defined, if "supportsOnBlur" is set to true.' ) ;
229+ if ( config . supportsOnBlur && typeof config . nativeControlSelector !== 'string' ) {
230+ throw new Error ( 'Expected "nativeControlSelector " to be defined, if "supportsOnBlur" is set to true.' ) ;
231231 }
232232}
233233
0 commit comments