chore: fix window width in spec for win (#15693)
This commit is contained in:
parent
8f35198bfb
commit
565e4c5910
1 changed files with 1 additions and 1 deletions
|
@ -538,7 +538,7 @@ describe('BrowserWindow module', () => {
|
||||||
const fullBounds = { x: 440, y: 225, width: 500, height: 400 }
|
const fullBounds = { x: 440, y: 225, width: 500, height: 400 }
|
||||||
w.setBounds(fullBounds)
|
w.setBounds(fullBounds)
|
||||||
|
|
||||||
const boundsUpdate = { width: 100 }
|
const boundsUpdate = { width: 200 }
|
||||||
w.setBounds(boundsUpdate)
|
w.setBounds(boundsUpdate)
|
||||||
|
|
||||||
const expectedBounds = Object.assign(fullBounds, boundsUpdate)
|
const expectedBounds = Object.assign(fullBounds, boundsUpdate)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue