mirror of
https://github.com/nasa/openmct.git
synced 2025-02-20 17:33:23 +00:00
[Tree] Fix error in test case
Correctly expect both arguments to $watch
This commit is contained in:
parent
d522570c0b
commit
55ae755522
@ -77,7 +77,10 @@ define([
|
||||
});
|
||||
|
||||
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 () {
|
||||
|
Loading…
x
Reference in New Issue
Block a user