enzyme-example-mocha icon indicating copy to clipboard operation
enzyme-example-mocha copied to clipboard

What is documentRef = document; for?

Open joetidee opened this issue 8 years ago • 1 comments
trafficstars

In the setup.js file, what is this doing?

documentRef = document;

joetidee avatar Feb 08 '17 14:02 joetidee

Moreover When I use that I get error such as this -

/home/test/Development/api-test/.setup.js:27
documentRef = document;
            ^

ReferenceError: documentRef is not defined
    at Object.<anonymous> (/home/test/Development/api-test/.setup.js:24:1)
    at Module

techyrajeev avatar Apr 26 '17 18:04 techyrajeev