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

Add Telemetry Opt-Out Feature - Fixes #62 #65

Closed
wants to merge 6 commits into from

Conversation

adarsh-jha-dev
Copy link
Contributor

This PR fixes #62 by adding a feature that allows developers to opt-out of telemetry. The changes include modifications to the postinstall.js and jest-config.js files, enabling the use of the PYTHAGORA_TELEMETRY_ENABLED environment variable to control telemetry. Developers can set this variable to false to opt-out of telemetry when running the script or tests.

This feature provides more flexibility to developers using the Pythagora tool by respecting their preference for telemetry data collection.

src/bin/postinstall.js Outdated Show resolved Hide resolved
Copy link

@gardner gardner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks like there might be an opportunity to improve thise code in jest-global-setup.js

src/bin/postinstall.js Show resolved Hide resolved
src/templates/jest-global-setup.js Outdated Show resolved Hide resolved
@adarsh-jha-dev
Copy link
Contributor Author

can any of the maintainers please have a look at this PR and let me know if the changes can be merged or does it require any sort of modifications?

@adarsh-jha-dev adarsh-jha-dev closed this by deleting the head repository Apr 24, 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.

Allow developers to opt-out of telemetry
2 participants