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

Question - Is there any way to log the errors from the test? #46

Open
lucasctd opened this issue Aug 29, 2024 · 5 comments
Open

Question - Is there any way to log the errors from the test? #46

lucasctd opened this issue Aug 29, 2024 · 5 comments
Assignees
Labels
Status: Abandoned Dropped and not into consideration

Comments

@lucasctd
Copy link

I am using japa on a AdoniJS project but when my tests fail, it only shows it has failed but does not say where xD
If I want to see the logs I have to add a try/catch inside my test body and add a console.log inside the catch block to see what went wrong 😐
image

@thetutlage
Copy link
Contributor

Don't you get a list of errors after the tests summary? Can you please share complete screenshot of your terminal

@thetutlage thetutlage self-assigned this Aug 30, 2024
@lucasctd
Copy link
Author

image
No I don't get anything.

@thetutlage
Copy link
Contributor

thetutlage commented Aug 31, 2024

Seems weird. What version of @japa/runner are you using?

Also, is it possible for you to reproduce this error in a new app and share the repo with me?

@lucasctd
Copy link
Author

I am using version 3.1.4.
I gonna install a clean version of AdonisJS and run a test to see what happens.

Copy link

stale bot commented Nov 13, 2024

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the Status: Abandoned Dropped and not into consideration label Nov 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Abandoned Dropped and not into consideration
Projects
None yet
Development

No branches or pull requests

2 participants