From 2a20630f2fa1d3acdab217b143f7279f945cbe6f Mon Sep 17 00:00:00 2001 From: Kevin Sawicki Date: Thu, 4 Aug 2016 13:02:41 -0700 Subject: [PATCH] Use same position as setPosition test --- spec/api-browser-window-spec.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spec/api-browser-window-spec.js b/spec/api-browser-window-spec.js index 041b09b7ac18..ee62261b4d1a 100644 --- a/spec/api-browser-window-spec.js +++ b/spec/api-browser-window-spec.js @@ -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()