We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ae00bcd commit b65431dCopy full SHA for b65431d
src/screen.ts
@@ -39,10 +39,9 @@ const logTestingPlaygroundURL = (element = getDocument().body) => {
39
console.log(`The provided element doesn't have any children.`)
40
return
41
}
42
- console.log(
43
- `Open this URL in your browser\n\n${getPlaygroundUrl(element.innerHTML)}`,
44
- )
45
- return getPlaygroundUrl(element.innerHTML)
+ const playgroundUrl = getPlaygroundUrl(element.innerHTML)
+ console.log(`Open this URL in your browser\n\n${playgroundUrl}`)
+ return playgroundUrl
46
47
48
const initialValue = {debug, logTestingPlaygroundURL}
0 commit comments