Skip to content

Commit

Permalink
test: add test for Events.nameForCode
Browse files Browse the repository at this point in the history
  • Loading branch information
evanlucas committed Mar 21, 2016
1 parent 53a740b commit c9b6806
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/dom-events.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,6 @@ test('Events', (t) => {

t.equal(Events.isNav(40), true)
t.equal(Events.isNav(Events.KEYS.SLASH), false)
t.equal(Events.nameForCode(40), 'DOWN', 'nameForCode')
t.end()
})

0 comments on commit c9b6806

Please sign in to comment.