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 actual tests #1

Open
OfficialCRUGG opened this issue Jan 20, 2023 · 0 comments
Open

Add actual tests #1

OfficialCRUGG opened this issue Jan 20, 2023 · 0 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@OfficialCRUGG
Copy link
Member

Currently, the tests just call the log function with the Pretty Console Transport six times and then check if it was really called six times.

This is because I haven't figured out a reliable way with Jest to check formatted, colored outputs and if they match what they should be. Potentially this required some further digging into how colored output works in itself. (Maybe we could remove the 3rd party library we use as well then?)

We should also add more in-depth testing of the various formatting options then.

@OfficialCRUGG OfficialCRUGG added enhancement New feature or request help wanted Extra attention is needed labels Jan 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant