Commit bbc2cc5d authored by Grant's avatar Grant
Browse files

TESTKIT_PUPPETEER_ARGS

parent d00a3c8d
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
{
  "name": "@sc07/fedi-testkit",
  "version": "1.0.1",
  "version": "1.0.2",
  "exports": {
    ".": {
      "default": "./dist/index.js",
+4 −0
Original line number Diff line number Diff line
@@ -21,6 +21,10 @@ export class MBinAPI implements ServiceAPI<IMbinNotification> {

    this.browser = await puppeteer.launch({
      headless: useHeadless,
      args:
        "TESTKIT_PUPPETEER_ARGS" in process.env
          ? [process.env.TESTKIT_PUPPETEER_ARGS!]
          : [],
    });
    const page = await this.browser.newPage();