Merge remote-tracking branch 'origin/main' into feat/support-agent-sandbox

# Conflicts:
#	api/core/workflow/graph_events/__init__.py
This commit is contained in:
yyh
2026-01-27 16:22:02 +08:00
124 changed files with 28915 additions and 778 deletions

View File

@ -90,6 +90,14 @@ afterEach(async () => {
// mock next/image to avoid width/height requirements for data URLs
vi.mock('next/image')
// mock foxact/use-clipboard - not available in test environment
vi.mock('foxact/use-clipboard', () => ({
useClipboard: () => ({
copy: vi.fn(),
copied: false,
}),
}))
// mock zustand - auto-resets all stores after each test
// Based on official Zustand testing guide: https://zustand.docs.pmnd.rs/guides/testing
vi.mock('zustand')