This commit is contained in:
Nikhil
2021-12-14 17:15:01 -08:00
committed by GitHub
parent 08b1c4ae74
commit e18c7562ae
2 changed files with 10 additions and 1 deletions

View File

@ -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();