mirror of
https://github.com/nasa/openmct.git
synced 2025-06-14 21:28:12 +00:00
[Autocomplete] Show warning icon if invalid option was typed
This commit is contained in:
@ -53,6 +53,11 @@ define([
|
||||
expect(mockScope.filteredOptions).toEqual(filteredOptions);
|
||||
});
|
||||
|
||||
it("checks if invalid option was typed", function () {
|
||||
mockScope.filterOptions('openmct');
|
||||
expect(mockScope.invalidOption).toEqual(true);
|
||||
});
|
||||
|
||||
it("fills input with given string", function () {
|
||||
var str = "UTC";
|
||||
mockScope.fillInput(str);
|
||||
|
Reference in New Issue
Block a user