mirror of
https://github.com/nasa/openmct.git
synced 2024-12-22 06:27:48 +00:00
[Timeline] Add minimal test case
This commit is contained in:
parent
70b593e28a
commit
0a75a5be1f
@ -141,6 +141,13 @@ define(
|
|||||||
expect(mockScope.scroll.y).toEqual(0);
|
expect(mockScope.scroll.y).toEqual(0);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
it("watches for a configuration object", function () {
|
||||||
|
expect(mockScope.$watch).toHaveBeenCalledWith(
|
||||||
|
"configuration",
|
||||||
|
jasmine.any(Function)
|
||||||
|
);
|
||||||
|
});
|
||||||
|
|
||||||
it("repopulates when modifications are made", function () {
|
it("repopulates when modifications are made", function () {
|
||||||
var fnWatchCall,
|
var fnWatchCall,
|
||||||
strWatchCall;
|
strWatchCall;
|
||||||
|
Loading…
Reference in New Issue
Block a user