*Update builds

This commit is contained in:
Derrick Hammer 2022-07-20 14:28:07 -04:00
parent e371a85b24
commit 1cdd3ff62b
2 changed files with 5161 additions and 5494 deletions

View File

@ -1,7 +1,7 @@
#!/usr/bin/env node #!/usr/bin/env node
// @ts-ignore // @ts-ignore
import { loadTester, login } from "../dist/index.js"; import { loadTester, login } from "../dist/index.js";
import puppeteer from "puppeteer"; import puppeteer, { ProtocolError } from "puppeteer";
let browser; let browser;
(async () => { (async () => {
browser = await puppeteer.launch({ headless: false, devtools: true }); browser = await puppeteer.launch({ headless: false, devtools: true });
@ -12,3 +12,8 @@ let browser;
process.on("SIGTERM", async () => { process.on("SIGTERM", async () => {
await browser.close(); await browser.close();
}); });
process.on("uncaughtException", (e) => {
if (!(e instanceof ProtocolError)) {
throw e;
}
});

File diff suppressed because it is too large Load Diff