mirror of
https://github.com/nasa/openmct.git
synced 2025-05-06 18:48:27 +00:00
parent
09be19310b
commit
903778799f
@ -30,6 +30,7 @@ define(
|
|||||||
var mockScope,
|
var mockScope,
|
||||||
mockAgentService,
|
mockAgentService,
|
||||||
mockDomainObjects,
|
mockDomainObjects,
|
||||||
|
mockWindow,
|
||||||
controller;
|
controller;
|
||||||
|
|
||||||
// We want to reinstantiate for each test case
|
// We want to reinstantiate for each test case
|
||||||
@ -37,7 +38,8 @@ define(
|
|||||||
function instantiateController() {
|
function instantiateController() {
|
||||||
return new PaneController(
|
return new PaneController(
|
||||||
mockScope,
|
mockScope,
|
||||||
mockAgentService
|
mockAgentService,
|
||||||
|
mockWindow
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -58,6 +60,7 @@ define(
|
|||||||
"agentService",
|
"agentService",
|
||||||
[ "isMobile", "isPhone", "isTablet", "isPortrait", "isLandscape" ]
|
[ "isMobile", "isPhone", "isTablet", "isPortrait", "isLandscape" ]
|
||||||
);
|
);
|
||||||
|
mockWindow = jasmine.createSpyObj("$window", ["open"]);
|
||||||
});
|
});
|
||||||
|
|
||||||
it("is initially visible", function () {
|
it("is initially visible", function () {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user