/** * Global test setup for Vitest + happy-dom * * Stubs browser globals that the app code expects to exist * (e.g. SafeLogger, which is loaded as a