test+style: align session.new binding pin with #76185 and eslint --fix

This commit is contained in:
Teknium
2026-08-14 23:56:11 -07:00
parent 100098ee2d
commit aaaea589f6
3 changed files with 5 additions and 3 deletions
@@ -18,8 +18,8 @@ import {
refreshDataUrlReadMaxMb,
setDataUrlReadMaxMb
} from '@/store/data-url-read-max'
import { $keepAwake, setKeepAwake } from '@/store/keep-awake'
import { $disableF12, setDisableF12 } from '@/store/disable-f12'
import { $keepAwake, setKeepAwake } from '@/store/keep-awake'
import { notify, notifyError } from '@/store/notifications'
import { repoDiscoveryPolicyFromConfig, repoDiscoveryPolicySignature, scanAndRecordRepos } from '@/store/projects'
import type { ConfigFieldSchema, HermesConfigRecord } from '@/types/hermes'
@@ -54,7 +54,9 @@ describe('contributed keybind actions', () => {
// The built-in keeps its own combo and its own (i18n) label — the
// contribution is filtered out rather than overriding core.
expect(bindingsFor('session.new')).toEqual(['mod+n', 'shift+n'])
// (bare shift+n was removed from session.new defaults — it hijacked
// typing a capital N into focused inputs, #76185)
expect(bindingsFor('session.new')).toEqual(['mod+n'])
expect(allKeybindActions().filter(a => a.id === 'session.new')).toHaveLength(1)
dispose()
@@ -1 +1 @@
baslam
hkfiberlaser-svg