fix prettier errors

This commit is contained in:
Labhansh Agrawal 2020-03-25 15:45:08 +05:30 committed by Benjamin Staneck
parent d2d31e346a
commit 41b1ac1852
39 changed files with 150 additions and 153 deletions

View file

@ -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,