sheremet-va/vi-fetch

[Bug] Cannot set properties of undefined (setting 'Headers') in node environemt

thoughtspile opened this issue · 1 comments

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

Fixed in 0.7.1