/**
 * 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 <script> tag in production).
 */

// Minimal SafeLogger stub — tests can spy on these via vi.spyOn()
globalThis.SafeLogger = {
  log: () => {},
  warn: () => {},
  error: () => {},
  info: () => {},
  debug: () => {},
};
