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

Commit 83a451b

Browse files
author
Nathan Sobo
committed
Mock out process.platform as darwin by default
This avoids calling the non-existent getModifierState method on our fake keyboard events when running on Travis.
1 parent c9b14fd commit 83a451b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

spec/keymap-manager-spec.coffee

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ describe "KeymapManager", ->
1212
keymapManager = null
1313

1414
beforeEach ->
15+
mockProcessPlatform('darwin')
1516
keymapManager = new KeymapManager
1617

1718
afterEach ->

0 commit comments

Comments
 (0)