Enzyme: ### Can not get document.body object

Created on 19 Aug 2017  路  1Comment  路  Source: enzymejs/enzyme

Can not get document object

I need get document because some Componment append element into document.body
so, is there some hack way to get enzyme document.body object?

question

>All comments

enzyme doesn't have its own; document.body would get the same one everywhere since document is a global.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

AdamYahid picture AdamYahid  路  3Comments

blainekasten picture blainekasten  路  3Comments

abe903 picture abe903  路  3Comments

rexonms picture rexonms  路  3Comments

nelsonchen90 picture nelsonchen90  路  3Comments