Skip to content

Commit

Permalink
Merge branch 'feat/playground-url' of github.com:balavishnuvj/dom-tes…
Browse files Browse the repository at this point in the history
…ting-library into feat/playground-url
  • Loading branch information
balavishnuvj committed Oct 13, 2020
2 parents 479c8d0 + 5a110de commit d773f84
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/__tests__/screen.js
Expand Up @@ -33,7 +33,7 @@ test('logs Playground URL that are attached to document.body', () => {
})

test('logs messsage when element is empty', () => {
screen.logTestingPlaygroundURL(render('').container)
screen.logTestingPlaygroundURL(document.createElement('div'))
expect(console.log).toHaveBeenCalledTimes(1)
expect(console.log.mock.calls[0][0]).toMatchInlineSnapshot(
`"The provided element doesn't have any children."`,
Expand Down

0 comments on commit d773f84

Please sign in to comment.