Format code with prettier

This commit fixes the style issues introduced in f7ff5f3 according to the output
from prettier.

Details: https://deepsource.io/gh/MillenniumEarl/F95API/transform/5957f2bd-9b83-459b-a748-1e25dc849308/
pull/20/head
deepsource-autofix[bot] 2020-10-14 13:15:34 +00:00 committed by GitHub
parent f7ff5f3c26
commit 6ac602fa87
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 5 deletions

View File

@ -489,8 +489,8 @@ async function loginF95(browser, username, password) {
await Promise.all([ await Promise.all([
page.click(selectors.LOGIN_BUTTON), // Click on the login button page.click(selectors.LOGIN_BUTTON), // Click on the login button
page.waitForNavigation({ page.waitForNavigation({
waitUntil: shared.WAIT_STATEMENT waitUntil: shared.WAIT_STATEMENT,
}) // Wait for page to load }), // Wait for page to load
]); ]);
// Prepare result // Prepare result

View File

@ -36,9 +36,9 @@ module.exports.getSearchGameResults = async function (browser, gamename) {
page.click(selectors.SEARCH_BUTTON), // Execute search page.click(selectors.SEARCH_BUTTON), // Execute search
page.waitForNavigation({ page.waitForNavigation({
waitUntil: shared.WAIT_STATEMENT, waitUntil: shared.WAIT_STATEMENT,
}) // Wait for page to load }), // Wait for page to load
]); ]);
// Select all conversation titles // Select all conversation titles
let resultsThread = await page.$$(selectors.SEARCH_THREADS_RESULTS_BODY); let resultsThread = await page.$$(selectors.SEARCH_THREADS_RESULTS_BODY);

View File

@ -25,7 +25,7 @@ module.exports.prepareBrowser = async function () {
headless: !shared.debug, // Use GUI when debug = true headless: !shared.debug, // Use GUI when debug = true
}); });
} }
return browser; return browser;
}; };