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
parent
f7ff5f3c26
commit
6ac602fa87
|
@ -489,8 +489,8 @@ async function loginF95(browser, username, password) {
|
|||
await Promise.all([
|
||||
page.click(selectors.LOGIN_BUTTON), // Click on the login button
|
||||
page.waitForNavigation({
|
||||
waitUntil: shared.WAIT_STATEMENT
|
||||
}) // Wait for page to load
|
||||
waitUntil: shared.WAIT_STATEMENT,
|
||||
}), // Wait for page to load
|
||||
]);
|
||||
|
||||
// Prepare result
|
||||
|
|
|
@ -36,9 +36,9 @@ module.exports.getSearchGameResults = async function (browser, gamename) {
|
|||
page.click(selectors.SEARCH_BUTTON), // Execute search
|
||||
page.waitForNavigation({
|
||||
waitUntil: shared.WAIT_STATEMENT,
|
||||
}) // Wait for page to load
|
||||
}), // Wait for page to load
|
||||
]);
|
||||
|
||||
|
||||
// Select all conversation titles
|
||||
let resultsThread = await page.$$(selectors.SEARCH_THREADS_RESULTS_BODY);
|
||||
|
||||
|
|
|
@ -25,7 +25,7 @@ module.exports.prepareBrowser = async function () {
|
|||
headless: !shared.debug, // Use GUI when debug = true
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
return browser;
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue