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