import '@testing-library/jest-dom';

// 全局测试设置
beforeEach(() => {
  // 清除localStorage
  localStorage.clear();

  // 清除sessionStorage
  sessionStorage.clear();
});

afterEach(() => {
  // 清理所有模拟
  vi.clearAllMocks();
});