3
bun.lock
3
bun.lock
@@ -1,10 +1,10 @@
|
||||
{
|
||||
"lockfileVersion": 1,
|
||||
"configVersion": 0,
|
||||
"workspaces": {
|
||||
"": {
|
||||
"name": "sone4ka-tok",
|
||||
"dependencies": {
|
||||
"@types/cli-progress": "^3.11.6",
|
||||
"cli-progress": "^3.12.0",
|
||||
"linkedom": "^0.18.12",
|
||||
"unidecode": "^1.1.0",
|
||||
@@ -13,6 +13,7 @@
|
||||
"@anthropic-ai/claude-code": "^2.0.1",
|
||||
"@musistudio/claude-code-router": "^1.0.53",
|
||||
"@types/bun": "latest",
|
||||
"@types/cli-progress": "^3.11.6",
|
||||
"@types/unidecode": "^1.1.0",
|
||||
},
|
||||
"peerDependencies": {
|
||||
|
||||
3
bunfig.toml
Normal file
3
bunfig.toml
Normal file
@@ -0,0 +1,3 @@
|
||||
[test]
|
||||
# Test configuration
|
||||
preload = ["./test/setup.ts"]
|
||||
12
test/setup.ts
Normal file
12
test/setup.ts
Normal 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
|
||||
Reference in New Issue
Block a user