Skip to content

Commit

Permalink
Add test runner context to test runs
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanjduffy committed Oct 11, 2023
1 parent 4d018a3 commit eb82508
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/test-utils/src/reporter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -328,6 +328,8 @@ class ReplayReporter {
const { REPLAY_METADATA_TEST_RUN_MODE, RECORD_REPLAY_METADATA_TEST_RUN_MODE } = process.env;

const testRun = {
runnerName: this.runner.name,
runnerVersion: this.runner.version,
repository: metadata.source?.repository ?? null,
title: metadata.source?.repository ?? null,
mode: REPLAY_METADATA_TEST_RUN_MODE ?? RECORD_REPLAY_METADATA_TEST_RUN_MODE ?? null,
Expand Down

0 comments on commit eb82508

Please sign in to comment.