This is the smoothest way I found to spoof DOM tests in Node (using jsdom) - https://github.com/yoshuawuyts/validate-json-schema-form/blob/master/test/index.js#L48-L51 …
@bendrucker I think if you do `global.document = require('min-document')` it gets you pretty far. Teardown + setup needed though.
-
-
@yoshuawuyts For sure, definitely fixable via a little test boilerplate regardlessThanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.