These are chat archives for
Sign in to start talking
Nov 18 2017 17:47
how would you respond to people that say adding JSDOM generated browser variables to the global object in node is an anti pattern?
Nov 18 2017 21:23
i'd say that's really stupid advice, since the whole point of jsdom is to simulate a browser env, and that
globals being on the global object.
Nov 18 2017 22:05
Agreed, unfortunately some of my colleagues have found this page in the JSDOM wiki —
. This issue demonstrates that opinion—