can't import 'vi-fetch/setup'
Closed this issue · 3 comments
martinIvovIv commented
vi-fetch does not export setup, therefore it can't be imported.
sheremet-va commented
give reproduction, please
martinIvovIv commented
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.
martinIvovIv commented
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.