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

🧪 Create test suite for logger class #732

Open
3 tasks
Thenlie opened this issue Nov 8, 2023 · 0 comments
Open
3 tasks

🧪 Create test suite for logger class #732

Thenlie opened this issue Nov 8, 2023 · 0 comments
Labels
type: testing Update or creation of unit tests

Comments

@Thenlie
Copy link
Owner

Thenlie commented Nov 8, 2023

Create tests to ensure the logger class works as expected and is stripped from production. We will need to figure out how to mock/update the node environment in the test to do this.

Acceptance

  • console.log is called in develop environments
  • log is properly formatted
  • console.log is not called in production environments
@Thenlie Thenlie added the type: testing Update or creation of unit tests label Nov 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: testing Update or creation of unit tests
Projects
Status: 📋 Backlog
Development

No branches or pull requests

1 participant