test+style: align session.new binding pin with #76185 and eslint --fix
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user