mirror of
https://github.com/nasa/openmct.git
synced 2025-06-13 20:58:15 +00:00
[Fixed Layout] Update tests
Update tests to reflect changes from WTD-894.
This commit is contained in:
@ -34,10 +34,10 @@ define(
|
|||||||
|
|
||||||
it("provides a style for positioning", function () {
|
it("provides a style for positioning", function () {
|
||||||
var style = handle.style();
|
var style = handle.style();
|
||||||
// 6 grid coords * 13 pixels - 4 pixels for centering
|
// 6 grid coords * 13 pixels - 3 pixels for centering
|
||||||
expect(style.left).toEqual('74px');
|
expect(style.left).toEqual('75px');
|
||||||
// 8 grid coords * 33 pixels - 4 pixels for centering
|
// 8 grid coords * 33 pixels - 3 pixels for centering
|
||||||
expect(style.top).toEqual('260px');
|
expect(style.top).toEqual('261px');
|
||||||
});
|
});
|
||||||
|
|
||||||
it("allows handles to be dragged", function () {
|
it("allows handles to be dragged", function () {
|
||||||
|
Reference in New Issue
Block a user