Files
ca-marketplace-scraper/packages/core/test/setup.ts

12 lines
295 B
TypeScript

// Test setup for Bun test runner
// This file is loaded before any tests run due to bunfig.toml preload
// Mock fetch globally for tests
global.fetch =
global.fetch ||
(() => {
throw new Error("fetch is not available in test environment");
});
// Add any global test utilities here