mirror of
https://github.com/nasa/openmct.git
synced 2025-06-15 05:38:12 +00:00
[Tree] Fix error in test case
Correctly expect both arguments to $watch
This commit is contained in:
@ -77,7 +77,10 @@ define([
|
|||||||
});
|
});
|
||||||
|
|
||||||
it("watches for changes to mct-object", function () {
|
it("watches for changes to mct-object", function () {
|
||||||
expect(mockScope.$watch).toHaveBeenCalledWith("mctObject");
|
expect(mockScope.$watch).toHaveBeenCalledWith(
|
||||||
|
"mctObject",
|
||||||
|
jasmine.any(Function)
|
||||||
|
);
|
||||||
});
|
});
|
||||||
|
|
||||||
it("listens for the $destroy event", function () {
|
it("listens for the $destroy event", function () {
|
||||||
|
Reference in New Issue
Block a user