Skip to content

fix(keymap): respect non-default layouts #100

fix(keymap): respect non-default layouts

fix(keymap): respect non-default layouts #100

Triggered via push May 3, 2026 19:02
Status Failure
Total duration 2m 56s
Artifacts

ci.yml

on: push
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

16 errors
Build (ubuntu-latest)
Process completed with exit code 1.
src/lib/keymaps.test.ts > shortcutBindingFromEvent > records Shift+Cmd+= as Shift+Mod+= (event.key="+" must not collide with the binding separator): packages/app-core/src/lib/keymaps.test.ts#L76
AssertionError: expected 'Shift+Meta+=' to be 'Shift+Mod+=' // Object.is equality Expected: "Shift+Mod+=" Received: "Shift+Meta+=" ❯ src/lib/keymaps.test.ts:76:45
src/lib/keymaps.test.ts > shortcutBindingFromEvent > records Shift+digit as the typed symbol (Shift+Mod+!): packages/app-core/src/lib/keymaps.test.ts#L57
AssertionError: expected 'Shift+Meta+!' to be 'Shift+Mod+!' // Object.is equality Expected: "Shift+Mod+!" Received: "Shift+Meta+!" ❯ src/lib/keymaps.test.ts:57:45
src/lib/keymaps.test.ts > shortcutBindingFromEvent > records plain Cmd+1 as Mod+1: packages/app-core/src/lib/keymaps.test.ts#L52
AssertionError: expected 'Meta+1' to be 'Mod+1' // Object.is equality Expected: "Mod+1" Received: "Meta+1" ❯ src/lib/keymaps.test.ts:52:45
src/lib/keymaps.test.ts > shortcutBindingFromEvent > falls back to event.code for Alt+digit when event.key is non-ASCII: packages/app-core/src/lib/keymaps.test.ts#L47
AssertionError: expected 'Alt+Meta+1' to be 'Alt+Mod+1' // Object.is equality Expected: "Alt+Mod+1" Received: "Alt+Meta+1" ❯ src/lib/keymaps.test.ts:47:45
src/lib/keymaps.test.ts > shortcutBindingFromEvent > preserves Hyper+J on QWERTY when event.key is the Alt-mangled glyph: packages/app-core/src/lib/keymaps.test.ts#L41
AssertionError: expected 'Alt+Shift+Mod+Meta+J' to be 'Ctrl+Alt+Shift+Mod+J' // Object.is equality Expected: "Ctrl+Alt+Shift+Mod+J" Received: "Alt+Shift+Mod+Meta+J" ❯ src/lib/keymaps.test.ts:41:45
src/lib/keymaps.test.ts > shortcutBindingFromEvent > uses the typed character on Colemak (Cmd+P fires on the key that types p): packages/app-core/src/lib/keymaps.test.ts#L28
AssertionError: expected 'Meta+P' to be 'Mod+P' // Object.is equality Expected: "Mod+P" Received: "Meta+P" ❯ src/lib/keymaps.test.ts:28:45
Build (ubuntu-latest)
@zennotes/app-core#test:run: command (/home/runner/work/zennotes/zennotes/packages/app-core) /opt/hostedtoolcache/node/22.22.2/x64/bin/npm run test:run exited (1)
Build (windows-latest)
Process completed with exit code 1.
src/lib/keymaps.test.ts > shortcutBindingFromEvent > records Shift+Cmd+= as Shift+Mod+= (event.key="+" must not collide with the binding separator): packages/app-core/src/lib/keymaps.test.ts#L76
AssertionError: expected 'Shift+Meta+=' to be 'Shift+Mod+=' // Object.is equality Expected: "Shift+Mod+=" Received: "Shift+Meta+=" ❯ src/lib/keymaps.test.ts:76:45
src/lib/keymaps.test.ts > shortcutBindingFromEvent > records Shift+digit as the typed symbol (Shift+Mod+!): packages/app-core/src/lib/keymaps.test.ts#L57
AssertionError: expected 'Shift+Meta+!' to be 'Shift+Mod+!' // Object.is equality Expected: "Shift+Mod+!" Received: "Shift+Meta+!" ❯ src/lib/keymaps.test.ts:57:45
src/lib/keymaps.test.ts > shortcutBindingFromEvent > records plain Cmd+1 as Mod+1: packages/app-core/src/lib/keymaps.test.ts#L52
AssertionError: expected 'Meta+1' to be 'Mod+1' // Object.is equality Expected: "Mod+1" Received: "Meta+1" ❯ src/lib/keymaps.test.ts:52:45
src/lib/keymaps.test.ts > shortcutBindingFromEvent > falls back to event.code for Alt+digit when event.key is non-ASCII: packages/app-core/src/lib/keymaps.test.ts#L47
AssertionError: expected 'Alt+Meta+1' to be 'Alt+Mod+1' // Object.is equality Expected: "Alt+Mod+1" Received: "Alt+Meta+1" ❯ src/lib/keymaps.test.ts:47:45
src/lib/keymaps.test.ts > shortcutBindingFromEvent > preserves Hyper+J on QWERTY when event.key is the Alt-mangled glyph: packages/app-core/src/lib/keymaps.test.ts#L41
AssertionError: expected 'Alt+Shift+Mod+Meta+J' to be 'Ctrl+Alt+Shift+Mod+J' // Object.is equality Expected: "Ctrl+Alt+Shift+Mod+J" Received: "Alt+Shift+Mod+Meta+J" ❯ src/lib/keymaps.test.ts:41:45
src/lib/keymaps.test.ts > shortcutBindingFromEvent > uses the typed character on Colemak (Cmd+P fires on the key that types p): packages/app-core/src/lib/keymaps.test.ts#L28
AssertionError: expected 'Meta+P' to be 'Mod+P' // Object.is equality Expected: "Mod+P" Received: "Meta+P" ❯ src/lib/keymaps.test.ts:28:45
Build (windows-latest)
@zennotes/app-core#test:run: command (D:\a\zennotes\zennotes\packages\app-core) C:\hostedtoolcache\windows\node\22.22.2\x64\npm.cmd run test:run exited (1)