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