nuxt/test-utils

allow running `setupFiles` before nuxt environment

Open

#577 opened on Jul 31, 2023

 (8 comments) (2 reactions) (0 assignees)TypeScript (115 forks)github user discovery
enhancementgood first issuevitest-environment

Repository metrics

Stars
 (440 stars)
PR merge metrics
 (Avg merge 5d 23h) (28 merged PRs in 30d)

Description

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

Contributor guide