assistant-cloud
Version:
Cloud integration for assistant-ui
10 lines • 406 B
JavaScript
// This file contains setup code for tests
import { vi } from "vitest";
// Set up global mocks if needed
// Using a fixed date to avoid recursive calls
const OriginalDate = global.Date;
const fixedDate = new OriginalDate("2023-01-01");
global.Date = vi.fn(() => fixedDate);
global.Date.now = vi.fn(() => fixedDate.getTime());
// Add any other global setup needed for tests
//# sourceMappingURL=setup.js.map