Merge pull request #20 from MillenniumEarl/deepsource-transform-fd18531c

Format code with prettier
pull/25/head
Millennium Earl 2020-10-15 18:00:53 +02:00 committed by GitHub
commit e192c2834e
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([
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

View File

@ -37,9 +37,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);

View File

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