Skip to content
This repository was archived by the owner on Dec 15, 2022. It is now read-only.

Commit 07c3dc0

Browse files
authored
test
1 parent 38e1c7b commit 07c3dc0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Diff for: spec/keymap-manager-spec.coffee

+1
Original file line numberDiff line numberDiff line change
@@ -755,6 +755,7 @@ describe "KeymapManager", ->
755755
describe "when the key is undefined on macOS", ->
756756
it "resolves using the native keymap", ->
757757
mockProcessPlatform('darwin')
758+
stub(KeyboardLayout, 'getCurrentKeymap', -> require('./helpers/keymaps/mac-undefined-keys.json'))
758759
assert.equal(keymapManager.keystrokeForKeyboardEvent(buildKeydownEvent({key: undefined, code: 'KeyF', modifierState: {altKey: true}})), 'alt-f')
759760

760761
describe "international layouts", ->

0 commit comments

Comments
 (0)