mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-05-05 13:41:59 +00:00
test: Update tests to use event.code format for keyboard shortcuts
- Update keybinding tests to use event.code instead of event.key - Add forwarding test for keybinding service - Align tests with the fix for non-English keyboard layouts This ensures tests match the application's use of event.code for language-independent keyboard shortcut handling.
This commit is contained in:
@@ -12,7 +12,7 @@ import {
|
||||
} from '@/stores/keybindingStore'
|
||||
|
||||
// Mock stores
|
||||
vi.mock('@/stores/settingStore', () => ({
|
||||
vi.mock('@/platform/settings/settingStore', () => ({
|
||||
useSettingStore: vi.fn(() => ({
|
||||
get: vi.fn(() => [])
|
||||
}))
|
||||
|
||||
Reference in New Issue
Block a user