I just updated to the latest benv and all XMLHttpRequests error out because jsdom now checks CORS, but benv doesn't supply the URL to jsdom.env. Since the origin then mismatches everything is a CORS violation. The fix is to supply jsdom with the URL to check against:
jsdom 8.2.0 changelog: Updated our XMLHttpRequest implementation with a variety of fixes and features, including preliminary CORS support. (nicolashenry)
I just updated to the latest benv and all XMLHttpRequests error out because jsdom now checks CORS, but benv doesn't supply the URL to jsdom.env. Since the origin then mismatches everything is a CORS violation. The fix is to supply jsdom with the URL to check against:
Seems that we need a way to supply additional parameters to jsdom.env in the setup() call. Optional second argument perhaps?