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

Commit 66d97b3

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 25acc5c commit 66d97b3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

spec/keymap-manager-spec.coffee

+1
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)