Files
ca-marketplace-scraper/test/setup.ts
Dmytro Stanchiev bdf504ba37 feat: testing setup
Signed-off-by: Dmytro Stanchiev <git@dmytros.dev>
2026-01-22 00:25:10 -05:00

12 lines
342 B
TypeScript

// Test setup for Bun test runner
import { expect } from "bun:test";
// Global test setup
// 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