[Search] Don't index objects being edited
https://github.com/nasa/openmctweb/pull/727#issuecomment-195570183
This commit is contained in:
@@ -101,7 +101,11 @@ define([
|
||||
|
||||
it('re-indexes when mutation occurs', function () {
|
||||
var mockDomainObject =
|
||||
jasmine.createSpyObj('domainObj', ['getId', 'getModel']),
|
||||
jasmine.createSpyObj('domainObj', [
|
||||
'getId',
|
||||
'getModel',
|
||||
'getCapability'
|
||||
]),
|
||||
testModel = { some: 'model' };
|
||||
mockDomainObject.getId.andReturn("some-id");
|
||||
mockDomainObject.getModel.andReturn(testModel);
|
||||
|
||||
Reference in New Issue
Block a user