@@ -77,8 +77,8 @@ describe('DirectorsBoard', () => {
|
||||
|
||||
it('has DEFAULT_OPTIONS with position', () => {
|
||||
expect(DirectorsBoard.DEFAULT_OPTIONS.position).toEqual({
|
||||
width: 400,
|
||||
height: 300,
|
||||
width: 420,
|
||||
height: 480,
|
||||
});
|
||||
});
|
||||
});
|
||||
@@ -110,7 +110,7 @@ describe('DirectorsBoard', () => {
|
||||
boardWithOptions._loadPosition();
|
||||
|
||||
expect(game.user.getFlag).toHaveBeenCalledWith(
|
||||
'video-view-manager',
|
||||
'scrying-pool',
|
||||
'directorsBoardState'
|
||||
);
|
||||
// Position should be merged into options.position (not replaced)
|
||||
@@ -136,8 +136,8 @@ describe('DirectorsBoard', () => {
|
||||
expect(boardWithOptions.options.position).toEqual({
|
||||
left: 100,
|
||||
top: 200,
|
||||
width: 400,
|
||||
height: 300,
|
||||
width: 420,
|
||||
height: 480,
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user