question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[feature] add an option to return value from `logTestingPlaygroundURL` instead of printing to console

See original GitHub issue

Describe 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:

Test

once this is implemented we will be able to work faster with the value both in VSCode and other IDE’s

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
kaminskypavelcommented, Jul 11, 2022

woo hoo! 🚀

1reaction
MatanBobicommented, Jul 4, 2022

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…

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found