mirror of
https://github.com/nasa/openmct.git
synced 2025-06-19 07:38:15 +00:00
test fix (#4569)
This commit is contained in:
@ -122,6 +122,7 @@ describe("The import JSON action", function () {
|
||||
];
|
||||
|
||||
spyOn(openmct.forms, 'showForm').and.returnValue(Promise.resolve({}));
|
||||
spyOn(importFromJSONAction, 'onSave').and.returnValue(Promise.resolve({}));
|
||||
importFromJSONAction.invoke(objectPath);
|
||||
|
||||
expect(openmct.forms.showForm).toHaveBeenCalled();
|
||||
|
Reference in New Issue
Block a user