Skip to content

Commit

Permalink
jsdom/jsdom#1245 replace .innerText with .textContent
Browse files Browse the repository at this point in the history
  • Loading branch information
truongsinh committed Apr 9, 2018
1 parent e6e9df7 commit 7cef260
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/specs/modules/Modal/Modal-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ describe('Modal', () => {
wrapperMount(<Modal open>child text</Modal>)

document.querySelector('.ui.modal')
.innerText
.textContent
.should.equal('child text')
})

Expand Down
2 changes: 1 addition & 1 deletion test/specs/modules/Popup/Popup-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ describe('Popup', () => {
wrapperMount(<Popup open>child text</Popup>)

document.querySelector('.ui.popup.visible')
.innerText
.textContent
.should.equal('child text')
})

Expand Down

0 comments on commit 7cef260

Please sign in to comment.