[Bug] Cannot set properties of undefined (setting 'Headers') in node environemt
thoughtspile opened this issue · 1 comments
thoughtspile commented
import 'vi-fetch/setup'
throws in node vitest environment (node@16
, no built-in fetch) since setup sets global.window.Headers
without checking if window
exists
sheremet-va commented
Fixed in 0.7.1