fix prettier errors
This commit is contained in:
parent
d2d31e346a
commit
41b1ac1852
39 changed files with 150 additions and 153 deletions
|
|
@ -1,7 +1,7 @@
|
|||
import test from 'ava';
|
||||
const proxyquire = require('proxyquire').noCallThru();
|
||||
|
||||
test('positionIsValid() returns true when window is on only screen', t => {
|
||||
test('positionIsValid() returns true when window is on only screen', (t) => {
|
||||
const position = [50, 50];
|
||||
const windowUtils = proxyquire('../../app/utils/window-utils', {
|
||||
electron: {
|
||||
|
|
@ -27,7 +27,7 @@ test('positionIsValid() returns true when window is on only screen', t => {
|
|||
t.true(result);
|
||||
});
|
||||
|
||||
test('positionIsValid() returns true when window is on second screen', t => {
|
||||
test('positionIsValid() returns true when window is on second screen', (t) => {
|
||||
const position = [750, 50];
|
||||
const windowUtils = proxyquire('../../app/utils/window-utils', {
|
||||
electron: {
|
||||
|
|
@ -61,7 +61,7 @@ test('positionIsValid() returns true when window is on second screen', t => {
|
|||
t.true(result);
|
||||
});
|
||||
|
||||
test('positionIsValid() returns false when position isnt valid', t => {
|
||||
test('positionIsValid() returns false when position isnt valid', (t) => {
|
||||
const primaryDisplay = {
|
||||
workArea: {
|
||||
x: 0,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue