mirror of
https://github.com/nasa/openmct.git
synced 2025-03-10 22:43:55 +00:00
19 lines
596 B
JavaScript
19 lines
596 B
JavaScript
/*global define,describe,it,expect,beforeEach,jasmine,xit*/
|
|
|
|
define(
|
|
['../src/FixedProxy'],
|
|
function (FixedProxy) {
|
|
"use strict";
|
|
|
|
describe("Fixed Position view's selection proxy", function () {
|
|
it("has a placeholder message when clicked", function () {
|
|
var oldAlert = window.alert;
|
|
window.alert = jasmine.createSpy('alert');
|
|
new FixedProxy({}).add('');
|
|
expect(window.alert).toHaveBeenCalledWith(jasmine.any(String));
|
|
window.alert = oldAlert;
|
|
});
|
|
});
|
|
}
|
|
);
|