Skip to content

Commit b65431d

Browse files
author
lironlevy
committed
Liron
1 parent ae00bcd commit b65431d

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

src/screen.ts

+3-4
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,9 @@ const logTestingPlaygroundURL = (element = getDocument().body) => {
3939
console.log(`The provided element doesn't have any children.`)
4040
return
4141
}
42-
console.log(
43-
`Open this URL in your browser\n\n${getPlaygroundUrl(element.innerHTML)}`,
44-
)
45-
return getPlaygroundUrl(element.innerHTML)
42+
const playgroundUrl = getPlaygroundUrl(element.innerHTML)
43+
console.log(`Open this URL in your browser\n\n${playgroundUrl}`)
44+
return playgroundUrl
4645
}
4746

4847
const initialValue = {debug, logTestingPlaygroundURL}

0 commit comments

Comments
 (0)