15 lines
352 B
TypeScript
15 lines
352 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
|