Add newlines between describe/it blocks
This commit is contained in:
parent
709661156a
commit
e63c3c727a
15 changed files with 455 additions and 295 deletions
|
@ -4,16 +4,15 @@ const screen = require('electron').screen;
|
|||
describe('screen module', function() {
|
||||
describe('screen.getCursorScreenPoint()', function() {
|
||||
return it('returns a point object', function() {
|
||||
var point;
|
||||
point = screen.getCursorScreenPoint();
|
||||
var point = screen.getCursorScreenPoint();
|
||||
assert.equal(typeof point.x, 'number');
|
||||
return assert.equal(typeof point.y, 'number');
|
||||
});
|
||||
});
|
||||
|
||||
return describe('screen.getPrimaryDisplay()', function() {
|
||||
return it('returns a display object', function() {
|
||||
var display;
|
||||
display = screen.getPrimaryDisplay();
|
||||
var display = screen.getPrimaryDisplay();
|
||||
assert.equal(typeof display.scaleFactor, 'number');
|
||||
assert(display.size.width > 0);
|
||||
return assert(display.size.height > 0);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue