MCPcopy
hub / github.com/signalapp/Signal-Desktop / maybeSaveLogs

Method maybeSaveLogs

ts/test-mock/bootstrap.node.ts:554–562  ·  view source on GitHub ↗
(
    test?: Mocha.Runnable,
    app: App | undefined = this.#lastApp
  )

Source from the content-addressed store, hash-verified

552 }
553
554 public async maybeSaveLogs(
555 test?: Mocha.Runnable,
556 app: App | undefined = this.#lastApp
557 ): Promise<void> {
558 const { FORCE_ARTIFACT_SAVE } = process.env;
559 if (test?.state !== 'passed' || FORCE_ARTIFACT_SAVE) {
560 await this.saveLogs(app, test?.fullTitle());
561 }
562 }
563
564 public async screenshot(
565 app: App | undefined = this.#lastApp,

Calls 1

saveLogsMethod · 0.95

Tested by

no test coverage detected