Skip to content

Commit

Permalink
Liron
Browse files Browse the repository at this point in the history
  • Loading branch information
lironlevy committed Jul 10, 2022
1 parent ae00bcd commit b65431d
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/screen.ts
Expand Up @@ -39,10 +39,9 @@ const logTestingPlaygroundURL = (element = getDocument().body) => {
console.log(`The provided element doesn't have any children.`)
return
}
console.log(
`Open this URL in your browser\n\n${getPlaygroundUrl(element.innerHTML)}`,
)
return getPlaygroundUrl(element.innerHTML)
const playgroundUrl = getPlaygroundUrl(element.innerHTML)
console.log(`Open this URL in your browser\n\n${playgroundUrl}`)
return playgroundUrl
}

const initialValue = {debug, logTestingPlaygroundURL}
Expand Down

0 comments on commit b65431d

Please sign in to comment.