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

fix: prevent issues with tests running in non-TTY environments #4510

Merged
merged 1 commit into from
Jun 13, 2024

Conversation

Sebastian-Webster
Copy link
Contributor

Prevented issues with tests running in non-TTY environments

This was done by adding a check to see if Node is running in a TTY environment. If it isn't in a TTY environment, logs are made with console.log instead of process.stdout.write() and process.stdout.clearLine().

Type of change

  • Bug fix (non-breaking change which fixes an issue)

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • My changes generate no new warnings
  • New and existing unit tests pass locally with my changes

@junedchhipa junedchhipa merged commit 4645131 into apexcharts:main Jun 13, 2024
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.

2 participants