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

Commit

Permalink
Mock out process.platform as darwin by default
Browse files Browse the repository at this point in the history
This avoids calling the non-existent getModifierState method on our fake keyboard events when running on Travis.
  • Loading branch information
Nathan Sobo committed Sep 15, 2016
1 parent 25acc5c commit 66d97b3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions spec/keymap-manager-spec.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ describe "KeymapManager", ->
keymapManager = null

beforeEach ->
mockProcessPlatform('darwin')
keymapManager = new KeymapManager

afterEach ->
Expand Down

0 comments on commit 66d97b3

Please sign in to comment.