[Mobile] Remove usage of element.scope()
Usage is unnecessary and is sensitive to initialization ordering of representations, resulting in #948.
This commit is contained in:
@@ -137,6 +137,11 @@ define(
|
||||
);
|
||||
});
|
||||
|
||||
// https://github.com/nasa/openmct/issues/948
|
||||
it("does not try to access scope", function () {
|
||||
expect(mockElement.scope).not.toHaveBeenCalled();
|
||||
});
|
||||
|
||||
});
|
||||
}
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user