Use same position as setPosition test
This commit is contained in:
parent
3a0ceb40b9
commit
2a20630f2f
1 changed files with 2 additions and 2 deletions
|
@ -352,7 +352,7 @@ describe('browser-window module', function () {
|
|||
|
||||
describe('BrowserWindow.setContentBounds(bounds)', function () {
|
||||
it('sets the content size and position', function (done) {
|
||||
var bounds = {x: 60, y: 60, width: 250, height: 250}
|
||||
var bounds = {x: 10, y: 10, width: 250, height: 250}
|
||||
w.once('resize', function () {
|
||||
assert.deepEqual(w.getContentBounds(), bounds)
|
||||
done()
|
||||
|
@ -368,7 +368,7 @@ describe('browser-window module', function () {
|
|||
width: 300,
|
||||
height: 300
|
||||
})
|
||||
var bounds = {x: 60, y: 60, width: 250, height: 250}
|
||||
var bounds = {x: 10, y: 10, width: 250, height: 250}
|
||||
w.once('resize', function () {
|
||||
assert.deepEqual(w.getContentBounds(), bounds)
|
||||
done()
|
||||
|
|
Loading…
Reference in a new issue