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 Test User Account for Jest Tests to Avoid Using Personal Credentials #5

Open
monilpat opened this issue Nov 14, 2024 · 0 comments

Comments

@monilpat
Copy link
Contributor

Description:
To improve security and maintain best practices, we should set up a dedicated test user account specifically for running Jest tests. This will allow our automated tests to operate independently of personal or organizational credentials, reducing potential risk and improving test reliability.

Task Details:

  1. Create a test Twitter account (if one does not already exist) with minimal permissions required for test cases.
  2. Update the environment configuration for Jest tests to use the test account's credentials.
  3. Modify relevant test setup code to pull from these credentials instead of personal accounts.
  4. Ensure all tests run successfully with the new credentials.

This update will enhance our security and reduce the risk of using sensitive credentials in test environments.

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

No branches or pull requests

1 participant