nuxt/test-utils

allow running `setupFiles` before nuxt environment

Aperta

#577 aperta il 31 lug 2023

 (8 commenti) (2 reazioni) (0 assegnatari)TypeScript (115 fork)github user discovery
enhancementgood first issuevitest-environment

Metriche repository

Star
 (440 stelle)
Metriche merge PR
 (Merge medio 5g 23h) (28 PR mergiate in 30 g)

Descrizione

I am using FormKit in some of my components, and formkit is throwing a ResizeObserver is not defined error when I'm running my tests with the jsdom environment instead of the happy-dom environment

Guida contributor