[feature] add an option to return value from `logTestingPlaygroundURL` instead of printing to console
See original GitHub issueDescribe the feature you’d like:
logTestingPlaygroundURL
is such a powerful feature 💪!
The only issue with it is always printed to the console if you’re using test runners such as (wallaby.js) this is extremely inconvenient.
it’d be great to have a similar getTestingPlaygroundURL
method or add Options parameters to the original method.
Suggested implementation:
would you be open for a PR?
Describe alternatives you’ve considered:
Teachability, Documentation, Adoption, Migration Strategy:
once this is implemented we will be able to work faster with the value both in VSCode and other IDE’s
Issue Analytics
- State:
- Created a year ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
Debugging | Testing Library
When any get or find calls you use in your test cases fail, the current state of the container (DOM) gets printed on...
Read more >Testing - Sourcegraph docs
Debugging browser-based tests. During a test run, the console from the browser will also be printed to the terminal, prefixed with “ ...
Read more >react-testing-library: some portion of debug's output is not visible
I am facing a weird issue. I am usng debug return by render from testing-library. test('component should work', async () ...
Read more >Using the React Testing Library debug method - LogRocket Blog
The logRoles function. Later on in this article, we will also take a look at debugging with the logTestingPlaygroundURL() method. To follow ...
Read more >Why the React Testing Library is Much More Than a Testing ...
Software development feels as precarious as working with cracked glass - in which (stay with me here) the more features you have in...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
woo hoo! 🚀
Hi @kaminskypavel, sorry it took me some time to respond. I understand what you’re saying, I think we can support this one, even if the use cases are minimal. This one is up for grabs, I’ll give it a try if I’ll have an hour soon…