Skip to content

Commit c8860eb

Browse files
nrobakovawnvko
andauthored
Update projects/igniteui-angular/src/lib/test-utils/ui-interactions.spec.ts
Co-Authored-By: Milko Venkov <[email protected]>
1 parent 48a3ead commit c8860eb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

projects/igniteui-angular/src/lib/test-utils/ui-interactions.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ export class UIInteractions {
134134
* @param fix - if fixture is set it will detect changes on it.
135135
*/
136136
public static clickAndSendInputElementValue(element, text, fix = null) {
137-
const nativeElement = element.nativeElement ? element.nativeElement : element;
137+
const nativeElement = element.nativeElement ?? element;
138138
nativeElement.value = text;
139139
nativeElement.dispatchEvent(new Event('keydown'));
140140
nativeElement.dispatchEvent(new Event('input'));

0 commit comments

Comments
 (0)