feat: testing setup

Signed-off-by: Dmytro Stanchiev <git@dmytros.dev>
This commit is contained in:
old4ever committed 2026-01-22 00:25:10 -05:00
1 parent 589af630fa
commit bdf504ba37
3 files changed
+17 -1

No files matched your search

+12
View File
@@ -0,0 +1,12 @@
// 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