sheremet-va/vi-fetch

can't import 'vi-fetch/setup'

Closed this issue · 3 comments

vi-fetch does not export setup, therefore it can't be imported.

give reproduction, please

Hey @sheremet-va , sorry for the horrible issue I opened.

It's an awesome package, I will add reproduction tomorrow, try to debug the problem (as it's most likely something stupid I'm doing) and otherwise I will contribute to the repo with the solution.

@sheremet-va

I have a nextJS project (12.1.6) and I was trying to transition to Vitest from Jest.
I had my old 'setupTests' file and I had tried to import vi-fetch/setup there by mistake and forgotten about it.

Sorry about the lost time.