Skip to content

Commit 7bb6682

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 c8860eb commit 7bb6682

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
@@ -151,7 +151,7 @@ export class UIInteractions {
151151
* @param fix - if fixture is set it will detect changes on it.
152152
*/
153153
public static setInputElementValue(element, text, fix = null) {
154-
const nativeElement = element.nativeElement ? element.nativeElement : element;
154+
const nativeElement = element.nativeElement ?? element;
155155
nativeElement.value = text;
156156
nativeElement.dispatchEvent(new Event('input'));
157157
if (fix) {

0 commit comments

Comments
 (0)