autoformat more files
This commit is contained in:
parent
06b556c34c
commit
f35f362272
47 changed files with 4458 additions and 4459 deletions
|
@ -1,21 +1,21 @@
|
|||
const assert = require('assert');
|
||||
const screen = require('electron').screen;
|
||||
const assert = require('assert')
|
||||
const screen = require('electron').screen
|
||||
|
||||
describe('screen module', function() {
|
||||
describe('screen.getCursorScreenPoint()', function() {
|
||||
it('returns a point object', function() {
|
||||
var point = screen.getCursorScreenPoint();
|
||||
assert.equal(typeof point.x, 'number');
|
||||
assert.equal(typeof point.y, 'number');
|
||||
});
|
||||
});
|
||||
describe('screen module', function () {
|
||||
describe('screen.getCursorScreenPoint()', function () {
|
||||
it('returns a point object', function () {
|
||||
var point = screen.getCursorScreenPoint()
|
||||
assert.equal(typeof point.x, 'number')
|
||||
assert.equal(typeof point.y, 'number')
|
||||
})
|
||||
})
|
||||
|
||||
describe('screen.getPrimaryDisplay()', function() {
|
||||
it('returns a display object', function() {
|
||||
var display = screen.getPrimaryDisplay();
|
||||
assert.equal(typeof display.scaleFactor, 'number');
|
||||
assert(display.size.width > 0);
|
||||
assert(display.size.height > 0);
|
||||
});
|
||||
});
|
||||
});
|
||||
describe('screen.getPrimaryDisplay()', function () {
|
||||
it('returns a display object', function () {
|
||||
var display = screen.getPrimaryDisplay()
|
||||
assert.equal(typeof display.scaleFactor, 'number')
|
||||
assert(display.size.width > 0)
|
||||
assert(display.size.height > 0)
|
||||
})
|
||||
})
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue