chore: add import/newline-after-import lint rule

This commit is contained in:
Fredrik Adelöw
2020-07-02 11:05:59 +02:00
parent da6dbc7af0
commit 7389f326d9
32 changed files with 35 additions and 3 deletions
+2 -1
View File
@@ -15,6 +15,7 @@
*/
const childProcess = require('child_process');
const { spawn } = childProcess;
const EXPECTED_LOAD_ERRORS = /ECONNREFUSED|ECONNRESET|did not get to load all resources/;
@@ -133,7 +134,7 @@ async function waitForPageWithText(
if (findTextAttempts <= maxFindTextAttempts) {
await browser.visit(path);
await new Promise(resolve => setTimeout(resolve, intervalMs));
continue
continue;
} else {
throw error;
}