Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update publish.command.js #198

Merged
merged 1 commit into from
Jun 28, 2024

Conversation

adysurfer
Copy link
Contributor

Steps to Reproduce:

  • Create and execute the config.js using the testbeats package with cypress or other testtool.
  • Observe the error message indicating ReferenceError: config is not defined.

Root Cause:
The variable config is not defined in the scope of the #processConfig method. The correct variable that should be referenced is processed_config.

Solution:
Replace config.reports with processed_config.reports in the #processConfig method to reference the correct variable

The variable config is not defined in the scope of the #processConfig method. The correct variable that should be referenced is processed_config.

Solution:
Replace config.reports with processed_config.reports in the #processConfig method to reference the correct variable.
@adysurfer
Copy link
Contributor Author

#199 should work fine after this update.

@ASaiAnudeep ASaiAnudeep merged commit ab05e5e into test-results-reporter:main Jun 28, 2024
0 of 3 checks passed
@adysurfer adysurfer deleted the testbeats-001 branch June 28, 2024 13:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ReferenceError: config is not defined in #processConfig Method of PublishCommand Class
2 participants