Skip to content

Commit

Permalink
0.0.4-dev1: Fixed finding of ZebrunnerReporter
Browse files Browse the repository at this point in the history
  • Loading branch information
asukhodolova committed Sep 14, 2023
1 parent 4339ff5 commit 9c519f8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@zebrunner/javascript-agent-playwright",
"version": "0.0.4-dev",
"version": "0.0.4-dev1",
"main": "build/src/lib/index.js",
"license": "MIT",
"description": "Zebrunner Agent for Playwright",
Expand Down
2 changes: 1 addition & 1 deletion src/lib/ZebrunnerReporter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ class ZebrunnerReporter implements Reporter {

async onBegin(config: FullConfig, suite: Suite) {
const reporters: ReporterDescription[] = config.reporter;
const zebrunnerReporter: ReporterDescription = reporters.find((reporterAndConfig) => reporterAndConfig[0].includes("ZebrunnerReporter.ts"));
const zebrunnerReporter: ReporterDescription = reporters.find((reporterAndConfig) => reporterAndConfig[0].includes("javascript-agent-playwright"));

const reporterConfig: any = zebrunnerReporter[1]
this.reportingConfig = new ReportingConfig(reporterConfig);
Expand Down

0 comments on commit 9c519f8

Please sign in to comment.