TAP version 13
# Arrows
# on: should fire keydown for arrow keys by default
ok 1 left down
ok 2 down down
# isDown: should know whether a key is down
ok 3 left
ok 4 down
ok 5 not up
ok 6 not right
# down: should include the right keys
ok 7 2 arrows
ok 8 one is left
ok 9 the other one down
# useWASD: changing the keys should work too
ok 10 w up pressed
ok 11 key up is down
# on: keyup events
ok 12 w up
1..12
# tests 12
# pass 12
# ok
TAP version 13
# Arrows
# on: should fire keydown for arrow keys by default
not ok 1 DOMException: NOT_SUPPORTED_ERR
---
operator: error
expected: undefined
actual: { code: 9, message: 'NOT_SUPPORTED_ERR' }
stack:
dispatchKey([arguments not available])@http://git.testling.com/work/finnp/repos/1b5d4de562f328d76e73074a90dc99f6edab1714.1401228172051/1401228172354.24f4dd91.js:4282
<anonymous function: module.exports>([arguments not available])@http://git.testling.com/work/finnp/repos/1b5d4de562f328d76e73074a90dc99f6edab1714.1401228172051/1401228172354.24f4dd91.js:4321
simulateKeyEvent([arguments not available])@http://git.testling.com/work/finnp/repos/1b5d4de562f328d76e73074a90dc99f6edab1714.1401228172051/1401228172354.24f4dd91.js:5593
<anonymous function: 37>([arguments not available])@http://git.testling.com/work/finnp/repos/1b5d4de562f328d76e73074a90dc99f6edab1714.1401228172051/1401228172354.24f4dd91.js:5625
bound([arguments not available])@http://git.testling.com/work/finnp/repos/1b5d4de562f328d76e73074a90dc99f6edab1714.1401228172051/1401228172354.24f4dd91.js:4763
<anonymous function: Test.prototype.run>([arguments not available])@http://git.testling.com/work/finnp/repos/1b5d4de562f328d76e73074a90dc99f6edab1714.1401228172051/1401228172354.24f4dd91.js:4777
bound([arguments not available])@http://git.testling.com/work/finnp/repos/1b5d4de562f328d76e73074a90dc99f6edab1714.1401228172051/1401228172354.24f4dd91.js:4763
<anonymous function: Test.prototype._end>([arguments not available])@http://git.testling.com/work/finnp/repos/1b5d4de562f328d76e73074a90dc99f6edab1714.1401228172051/1401228172354.24f4dd91.js:4837
bound([arguments not available])@http://git.testling.com/work/finnp/repos/1b5d4de562f328d76e73074a90dc99f6edab1714.1401228172051/1401228172354.24f4dd91.js:4763
<anonymous function: Test.prototype.test>([arguments not available])@http://git.testling.com/work/finnp/repos/1b5d4de562f328d76e73074a90dc99f6edab1714.1401228172051/1401228172354.24f4dd91.js:4805
...
# isDown: should know whether a key is down
not ok 2 left
---
operator: ok
expected: true
actual: false
...
not ok 3 down
---
operator: ok
expected: true
actual: false
...
ok 4 not up
ok 5 not right
# down: should include the right keys
not ok 6 2 arrows
---
operator: ok
expected: true
actual: false
...
not ok 7 one is left
---
operator: ok
expected: true
actual: false
...
not ok 8 the other one down
---
operator: ok
expected: true
actual: false
...
# useWASD: changing the keys should work too
not ok 9 DOMException: NOT_SUPPORTED_ERR
---
operator: error
expected: undefined
actual: { code: 9, message: 'NOT_SUPPORTED_ERR' }
stack:
dispatchKey([arguments not available])@http://git.testling.com/work/finnp/repos/1b5d4de562f328d76e73074a90dc99f6edab1714.1401228172051/1401228172354.24f4dd91.js:4282
<anonymous function: module.exports>([arguments not available])@http://git.testling.com/work/finnp/repos/1b5d4de562f328d76e73074a90dc99f6edab1714.1401228172051/1401228172354.24f4dd91.js:4321
simulateKeyEvent([arguments not available])@http://git.testling.com/work/finnp/repos/1b5d4de562f328d76e73074a90dc99f6edab1714.1401228172051/1401228172354.24f4dd91.js:5593
<anonymous function: 37>([arguments not available])@http://git.testling.com/work/finnp/repos/1b5d4de562f328d76e73074a90dc99f6edab1714.1401228172051/1401228172354.24f4dd91.js:5654
bound([arguments not available])@http://git.testling.com/work/finnp/repos/1b5d4de562f328d76e73074a90dc99f6edab1714.1401228172051/1401228172354.24f4dd91.js:4763
<anonymous function: Test.prototype.run>([arguments not available])@http://git.testling.com/work/finnp/repos/1b5d4de562f328d76e73074a90dc99f6edab1714.1401228172051/1401228172354.24f4dd91.js:4777
bound([arguments not available])@http://git.testling.com/work/finnp/repos/1b5d4de562f328d76e73074a90dc99f6edab1714.1401228172051/1401228172354.24f4dd91.js:4763
<anonymous function: Test.prototype._end>([arguments not available])@http://git.testling.com/work/finnp/repos/1b5d4de562f328d76e73074a90dc99f6edab1714.1401228172051/1401228172354.24f4dd91.js:4837
bound([arguments not available])@http://git.testling.com/work/finnp/repos/1b5d4de562f328d76e73074a90dc99f6edab1714.1401228172051/1401228172354.24f4dd91.js:4763
<anonymous function: Test.prototype._end>([arguments not available])@http://git.testling.com/work/finnp/repos/1b5d4de562f328d76e73074a90dc99f6edab1714.1401228172051/1401228172354.24f4dd91.js:4836
...
# on: keyup events
not ok 10 DOMException: NOT_SUPPORTED_ERR
---
operator: error
expected: undefined
actual: { code: 9, message: 'NOT_SUPPORTED_ERR' }
stack:
dispatchKey([arguments not available])@http://git.testling.com/work/finnp/repos/1b5d4de562f328d76e73074a90dc99f6edab1714.1401228172051/1401228172354.24f4dd91.js:4282
<anonymous function: module.exports>([arguments not available])@http://git.testling.com/work/finnp/repos/1b5d4de562f328d76e73074a90dc99f6edab1714.1401228172051/1401228172354.24f4dd91.js:4321
simulateKeyEvent([arguments not available])@http://git.testling.com/work/finnp/repos/1b5d4de562f328d76e73074a90dc99f6edab1714.1401228172051/1401228172354.24f4dd91.js:5593
<anonymous function: 37>([arguments not available])@http://git.testling.com/work/finnp/repos/1b5d4de562f328d76e73074a90dc99f6edab1714.1401228172051/1401228172354.24f4dd91.js:5663
bound([arguments not available])@http://git.testling.com/work/finnp/repos/1b5d4de562f328d76e73074a90dc99f6edab1714.1401228172051/1401228172354.24f4dd91.js:4763
<anonymous function: Test.prototype.run>([arguments not available])@http://git.testling.com/work/finnp/repos/1b5d4de562f328d76e73074a90dc99f6edab1714.1401228172051/1401228172354.24f4dd91.js:4777
bound([arguments not available])@http://git.testling.com/work/finnp/repos/1b5d4de562f328d76e73074a90dc99f6edab1714.1401228172051/1401228172354.24f4dd91.js:4763
<anonymous function: Test.prototype._end>([arguments not available])@http://git.testling.com/work/finnp/repos/1b5d4de562f328d76e73074a90dc99f6edab1714.1401228172051/1401228172354.24f4dd91.js:4837
bound([arguments not available])@http://git.testling.com/work/finnp/repos/1b5d4de562f328d76e73074a90dc99f6edab1714.1401228172051/1401228172354.24f4dd91.js:4763
<anonymous function: Test.prototype._end>([arguments not available])@http://git.testling.com/work/finnp/repos/1b5d4de562f328d76e73074a90dc99f6edab1714.1401228172051/1401228172354.24f4dd91.js:4836
...
not ok 11 plan != count
---
operator: fail
expected: 2
actual: 1
...
not ok 12 plan != count
---
operator: fail
expected: 2
actual: 1
...
1..12
# tests 12
# pass 2
# fail 10
TAP version 13
# Arrows
# on: should fire keydown for arrow keys by default
not ok 1 DOMException: NOT_SUPPORTED_ERR
---
operator: error
expected: undefined
actual: { code: 9, message: 'NOT_SUPPORTED_ERR' }
stack:
dispatchKey([arguments not available])@http://git.testling.com/work/finnp/repos/1b5d4de562f328d76e73074a90dc99f6edab1714.1401228172051/1401228172354.24f4dd91.js:4266
<anonymous function: module.exports>([arguments not available])@http://git.testling.com/work/finnp/repos/1b5d4de562f328d76e73074a90dc99f6edab1714.1401228172051/1401228172354.24f4dd91.js:4321
simulateKeyEvent([arguments not available])@http://git.testling.com/work/finnp/repos/1b5d4de562f328d76e73074a90dc99f6edab1714.1401228172051/1401228172354.24f4dd91.js:5593
<anonymous function: 37>([arguments not available])@http://git.testling.com/work/finnp/repos/1b5d4de562f328d76e73074a90dc99f6edab1714.1401228172051/1401228172354.24f4dd91.js:5625
bound([arguments not available])@http://git.testling.com/work/finnp/repos/1b5d4de562f328d76e73074a90dc99f6edab1714.1401228172051/1401228172354.24f4dd91.js:4763
<anonymous function: Test.prototype.run>([arguments not available])@http://git.testling.com/work/finnp/repos/1b5d4de562f328d76e73074a90dc99f6edab1714.1401228172051/1401228172354.24f4dd91.js:4777
bound([arguments not available])@http://git.testling.com/work/finnp/repos/1b5d4de562f328d76e73074a90dc99f6edab1714.1401228172051/1401228172354.24f4dd91.js:4763
<anonymous function: Test.prototype._end>([arguments not available])@http://git.testling.com/work/finnp/repos/1b5d4de562f328d76e73074a90dc99f6edab1714.1401228172051/1401228172354.24f4dd91.js:4837
bound([arguments not available])@http://git.testling.com/work/finnp/repos/1b5d4de562f328d76e73074a90dc99f6edab1714.1401228172051/1401228172354.24f4dd91.js:4763
<anonymous function: Test.prototype.test>([arguments not available])@http://git.testling.com/work/finnp/repos/1b5d4de562f328d76e73074a90dc99f6edab1714.1401228172051/1401228172354.24f4dd91.js:4805
...
# isDown: should know whether a key is down
not ok 2 left
---
operator: ok
expected: true
actual: false
...
not ok 3 down
---
operator: ok
expected: true
actual: false
...
ok 4 not up
ok 5 not right
# down: should include the right keys
not ok 6 2 arrows
---
operator: ok
expected: true
actual: false
...
not ok 7 one is left
---
operator: ok
expected: true
actual: false
...
not ok 8 the other one down
---
operator: ok
expected: true
actual: false
...
# useWASD: changing the keys should work too
not ok 9 DOMException: NOT_SUPPORTED_ERR
---
operator: error
expected: undefined
actual: { code: 9, message: 'NOT_SUPPORTED_ERR' }
stack:
dispatchKey([arguments not available])@http://git.testling.com/work/finnp/repos/1b5d4de562f328d76e73074a90dc99f6edab1714.1401228172051/1401228172354.24f4dd91.js:4266
<anonymous function: module.exports>([arguments not available])@http://git.testling.com/work/finnp/repos/1b5d4de562f328d76e73074a90dc99f6edab1714.1401228172051/1401228172354.24f4dd91.js:4321
simulateKeyEvent([arguments not available])@http://git.testling.com/work/finnp/repos/1b5d4de562f328d76e73074a90dc99f6edab1714.1401228172051/1401228172354.24f4dd91.js:5593
<anonymous function: 37>([arguments not available])@http://git.testling.com/work/finnp/repos/1b5d4de562f328d76e73074a90dc99f6edab1714.1401228172051/1401228172354.24f4dd91.js:5654
bound([arguments not available])@http://git.testling.com/work/finnp/repos/1b5d4de562f328d76e73074a90dc99f6edab1714.1401228172051/1401228172354.24f4dd91.js:4763
<anonymous function: Test.prototype.run>([arguments not available])@http://git.testling.com/work/finnp/repos/1b5d4de562f328d76e73074a90dc99f6edab1714.1401228172051/1401228172354.24f4dd91.js:4777
bound([arguments not available])@http://git.testling.com/work/finnp/repos/1b5d4de562f328d76e73074a90dc99f6edab1714.1401228172051/1401228172354.24f4dd91.js:4763
<anonymous function: Test.prototype._end>([arguments not available])@http://git.testling.com/work/finnp/repos/1b5d4de562f328d76e73074a90dc99f6edab1714.1401228172051/1401228172354.24f4dd91.js:4837
bound([arguments not available])@http://git.testling.com/work/finnp/repos/1b5d4de562f328d76e73074a90dc99f6edab1714.1401228172051/1401228172354.24f4dd91.js:4763
<anonymous function: Test.prototype._end>([arguments not available])@http://git.testling.com/work/finnp/repos/1b5d4de562f328d76e73074a90dc99f6edab1714.1401228172051/1401228172354.24f4dd91.js:4836
...
# on: keyup events
not ok 10 DOMException: NOT_SUPPORTED_ERR
---
operator: error
expected: undefined
actual: { code: 9, message: 'NOT_SUPPORTED_ERR' }
stack:
dispatchKey([arguments not available])@http://git.testling.com/work/finnp/repos/1b5d4de562f328d76e73074a90dc99f6edab1714.1401228172051/1401228172354.24f4dd91.js:4266
<anonymous function: module.exports>([arguments not available])@http://git.testling.com/work/finnp/repos/1b5d4de562f328d76e73074a90dc99f6edab1714.1401228172051/1401228172354.24f4dd91.js:4321
simulateKeyEvent([arguments not available])@http://git.testling.com/work/finnp/repos/1b5d4de562f328d76e73074a90dc99f6edab1714.1401228172051/1401228172354.24f4dd91.js:5593
<anonymous function: 37>([arguments not available])@http://git.testling.com/work/finnp/repos/1b5d4de562f328d76e73074a90dc99f6edab1714.1401228172051/1401228172354.24f4dd91.js:5663
bound([arguments not available])@http://git.testling.com/work/finnp/repos/1b5d4de562f328d76e73074a90dc99f6edab1714.1401228172051/1401228172354.24f4dd91.js:4763
<anonymous function: Test.prototype.run>([arguments not available])@http://git.testling.com/work/finnp/repos/1b5d4de562f328d76e73074a90dc99f6edab1714.1401228172051/1401228172354.24f4dd91.js:4777
bound([arguments not available])@http://git.testling.com/work/finnp/repos/1b5d4de562f328d76e73074a90dc99f6edab1714.1401228172051/1401228172354.24f4dd91.js:4763
<anonymous function: Test.prototype._end>([arguments not available])@http://git.testling.com/work/finnp/repos/1b5d4de562f328d76e73074a90dc99f6edab1714.1401228172051/1401228172354.24f4dd91.js:4837
bound([arguments not available])@http://git.testling.com/work/finnp/repos/1b5d4de562f328d76e73074a90dc99f6edab1714.1401228172051/1401228172354.24f4dd91.js:4763
<anonymous function: Test.prototype._end>([arguments not available])@http://git.testling.com/work/finnp/repos/1b5d4de562f328d76e73074a90dc99f6edab1714.1401228172051/1401228172354.24f4dd91.js:4836
...
not ok 11 plan != count
---
operator: fail
expected: 2
actual: 1
...
not ok 12 plan != count
---
operator: fail
expected: 2
actual: 1
...
1..12
# tests 12
# pass 2
# fail 10
TAP version 13
# Arrows
# on: should fire keydown for arrow keys by default
not ok 1 DOMException: NOT_SUPPORTED_ERR
---
operator: error
expected: undefined
actual: { code: 9, message: 'NOT_SUPPORTED_ERR' }
stack:
dispatchKey([arguments not available])@http://git.testling.com/work/finnp/repos/1b5d4de562f328d76e73074a90dc99f6edab1714.1401228172051/1401228172354.24f4dd91.js:4282
<anonymous function: module.exports>([arguments not available])@http://git.testling.com/work/finnp/repos/1b5d4de562f328d76e73074a90dc99f6edab1714.1401228172051/1401228172354.24f4dd91.js:4321
simulateKeyEvent([arguments not available])@http://git.testling.com/work/finnp/repos/1b5d4de562f328d76e73074a90dc99f6edab1714.1401228172051/1401228172354.24f4dd91.js:5593
<anonymous function: 37>([arguments not available])@http://git.testling.com/work/finnp/repos/1b5d4de562f328d76e73074a90dc99f6edab1714.1401228172051/1401228172354.24f4dd91.js:5625
bound([arguments not available])@http://git.testling.com/work/finnp/repos/1b5d4de562f328d76e73074a90dc99f6edab1714.1401228172051/1401228172354.24f4dd91.js:4763
<anonymous function: Test.prototype.run>([arguments not available])@http://git.testling.com/work/finnp/repos/1b5d4de562f328d76e73074a90dc99f6edab1714.1401228172051/1401228172354.24f4dd91.js:4777
bound([arguments not available])@http://git.testling.com/work/finnp/repos/1b5d4de562f328d76e73074a90dc99f6edab1714.1401228172051/1401228172354.24f4dd91.js:4763
<anonymous function: Test.prototype._end>([arguments not available])@http://git.testling.com/work/finnp/repos/1b5d4de562f328d76e73074a90dc99f6edab1714.1401228172051/1401228172354.24f4dd91.js:4837
bound([arguments not available])@http://git.testling.com/work/finnp/repos/1b5d4de562f328d76e73074a90dc99f6edab1714.1401228172051/1401228172354.24f4dd91.js:4763
<anonymous function: Test.prototype.test>([arguments not available])@http://git.testling.com/work/finnp/repos/1b5d4de562f328d76e73074a90dc99f6edab1714.1401228172051/1401228172354.24f4dd91.js:4805
...
# isDown: should know whether a key is down
not ok 2 left
---
operator: ok
expected: true
actual: false
...
not ok 3 down
---
operator: ok
expected: true
actual: false
...
ok 4 not up
ok 5 not right
# down: should include the right keys
not ok 6 2 arrows
---
operator: ok
expected: true
actual: false
...
not ok 7 one is left
---
operator: ok
expected: true
actual: false
...
not ok 8 the other one down
---
operator: ok
expected: true
actual: false
...
# useWASD: changing the keys should work too
not ok 9 DOMException: NOT_SUPPORTED_ERR
---
operator: error
expected: undefined
actual: { code: 9, message: 'NOT_SUPPORTED_ERR' }
stack:
dispatchKey([arguments not available])@http://git.testling.com/work/finnp/repos/1b5d4de562f328d76e73074a90dc99f6edab1714.1401228172051/1401228172354.24f4dd91.js:4282
<anonymous function: module.exports>([arguments not available])@http://git.testling.com/work/finnp/repos/1b5d4de562f328d76e73074a90dc99f6edab1714.1401228172051/1401228172354.24f4dd91.js:4321
simulateKeyEvent([arguments not available])@http://git.testling.com/work/finnp/repos/1b5d4de562f328d76e73074a90dc99f6edab1714.1401228172051/1401228172354.24f4dd91.js:5593
<anonymous function: 37>([arguments not available])@http://git.testling.com/work/finnp/repos/1b5d4de562f328d76e73074a90dc99f6edab1714.1401228172051/1401228172354.24f4dd91.js:5654
bound([arguments not available])@http://git.testling.com/work/finnp/repos/1b5d4de562f328d76e73074a90dc99f6edab1714.1401228172051/1401228172354.24f4dd91.js:4763
<anonymous function: Test.prototype.run>([arguments not available])@http://git.testling.com/work/finnp/repos/1b5d4de562f328d76e73074a90dc99f6edab1714.1401228172051/1401228172354.24f4dd91.js:4777
bound([arguments not available])@http://git.testling.com/work/finnp/repos/1b5d4de562f328d76e73074a90dc99f6edab1714.1401228172051/1401228172354.24f4dd91.js:4763
<anonymous function: Test.prototype._end>([arguments not available])@http://git.testling.com/work/finnp/repos/1b5d4de562f328d76e73074a90dc99f6edab1714.1401228172051/1401228172354.24f4dd91.js:4837
bound([arguments not available])@http://git.testling.com/work/finnp/repos/1b5d4de562f328d76e73074a90dc99f6edab1714.1401228172051/1401228172354.24f4dd91.js:4763
<anonymous function: Test.prototype._end>([arguments not available])@http://git.testling.com/work/finnp/repos/1b5d4de562f328d76e73074a90dc99f6edab1714.1401228172051/1401228172354.24f4dd91.js:4836
...
# on: keyup events
not ok 10 DOMException: NOT_SUPPORTED_ERR
---
operator: error
expected: undefined
actual: { code: 9, message: 'NOT_SUPPORTED_ERR' }
stack:
dispatchKey([arguments not available])@http://git.testling.com/work/finnp/repos/1b5d4de562f328d76e73074a90dc99f6edab1714.1401228172051/1401228172354.24f4dd91.js:4282
<anonymous function: module.exports>([arguments not available])@http://git.testling.com/work/finnp/repos/1b5d4de562f328d76e73074a90dc99f6edab1714.1401228172051/1401228172354.24f4dd91.js:4321
simulateKeyEvent([arguments not available])@http://git.testling.com/work/finnp/repos/1b5d4de562f328d76e73074a90dc99f6edab1714.1401228172051/1401228172354.24f4dd91.js:5593
<anonymous function: 37>([arguments not available])@http://git.testling.com/work/finnp/repos/1b5d4de562f328d76e73074a90dc99f6edab1714.1401228172051/1401228172354.24f4dd91.js:5663
bound([arguments not available])@http://git.testling.com/work/finnp/repos/1b5d4de562f328d76e73074a90dc99f6edab1714.1401228172051/1401228172354.24f4dd91.js:4763
<anonymous function: Test.prototype.run>([arguments not available])@http://git.testling.com/work/finnp/repos/1b5d4de562f328d76e73074a90dc99f6edab1714.1401228172051/1401228172354.24f4dd91.js:4777
bound([arguments not available])@http://git.testling.com/work/finnp/repos/1b5d4de562f328d76e73074a90dc99f6edab1714.1401228172051/1401228172354.24f4dd91.js:4763
<anonymous function: Test.prototype._end>([arguments not available])@http://git.testling.com/work/finnp/repos/1b5d4de562f328d76e73074a90dc99f6edab1714.1401228172051/1401228172354.24f4dd91.js:4837
bound([arguments not available])@http://git.testling.com/work/finnp/repos/1b5d4de562f328d76e73074a90dc99f6edab1714.1401228172051/1401228172354.24f4dd91.js:4763
<anonymous function: Test.prototype._end>([arguments not available])@http://git.testling.com/work/finnp/repos/1b5d4de562f328d76e73074a90dc99f6edab1714.1401228172051/1401228172354.24f4dd91.js:4836
...
not ok 11 plan != count
---
operator: fail
expected: 2
actual: 1
...
not ok 12 plan != count
---
operator: fail
expected: 2
actual: 1
...
1..12
# tests 12
# pass 2
# fail 10
TAP version 13
# Arrows
# on: should fire keydown for arrow keys by default
ok 1 left down
ok 2 down down
# isDown: should know whether a key is down
ok 3 left
ok 4 down
ok 5 not up
ok 6 not right
# down: should include the right keys
ok 7 2 arrows
ok 8 one is left
ok 9 the other one down
# useWASD: changing the keys should work too
ok 10 w up pressed
ok 11 key up is down
# on: keyup events
ok 12 w up
1..12
# tests 12
# pass 12
# ok
TAP version 13
# Arrows
# on: should fire keydown for arrow keys by default
ok 1 left down
ok 2 down down
# isDown: should know whether a key is down
ok 3 left
ok 4 down
ok 5 not up
ok 6 not right
# down: should include the right keys
ok 7 2 arrows
ok 8 one is left
ok 9 the other one down
# useWASD: changing the keys should work too
ok 10 w up pressed
ok 11 key up is down
# on: keyup events
ok 12 w up
1..12
# tests 12
# pass 12
# ok
TAP version 13
# Arrows
# on: should fire keydown for arrow keys by default
ok 1 left down
ok 2 down down
# isDown: should know whether a key is down
ok 3 left
ok 4 down
ok 5 not up
ok 6 not right
# down: should include the right keys
ok 7 2 arrows
ok 8 one is left
ok 9 the other one down
# useWASD: changing the keys should work too
ok 10 w up pressed
ok 11 key up is down
# on: keyup events
ok 12 w up
1..12
# tests 12
# pass 12
# ok
TAP version 13
# Arrows
# on: should fire keydown for arrow keys by default
ok 1 left down
ok 2 down down
# isDown: should know whether a key is down
ok 3 left
ok 4 down
ok 5 not up
ok 6 not right
# down: should include the right keys
ok 7 2 arrows
ok 8 one is left
ok 9 the other one down
# useWASD: changing the keys should work too
ok 10 w up pressed
ok 11 key up is down
# on: keyup events
ok 12 w up
1..12
# tests 12
# pass 12
# ok
TAP version 13
# Arrows
# on: should fire keydown for arrow keys by default
ok 1 left down
ok 2 down down
# isDown: should know whether a key is down
ok 3 left
ok 4 down
ok 5 not up
ok 6 not right
# down: should include the right keys
ok 7 2 arrows
ok 8 one is left
ok 9 the other one down
# useWASD: changing the keys should work too
ok 10 w up pressed
ok 11 key up is down
# on: keyup events
ok 12 w up
1..12
# tests 12
# pass 12
# ok
TAP version 13
# Arrows
# on: should fire keydown for arrow keys by default
ok 1 left down
ok 2 down down
# isDown: should know whether a key is down
ok 3 left
ok 4 down
ok 5 not up
ok 6 not right
# down: should include the right keys
ok 7 2 arrows
ok 8 one is left
ok 9 the other one down
# useWASD: changing the keys should work too
ok 10 w up pressed
ok 11 key up is down
# on: keyup events
ok 12 w up
1..12
# tests 12
# pass 12
# ok
TAP version 13
# Arrows
# on: should fire keydown for arrow keys by default
ok 1 left down
ok 2 down down
# isDown: should know whether a key is down
ok 3 left
ok 4 down
ok 5 not up
ok 6 not right
# down: should include the right keys
ok 7 2 arrows
ok 8 one is left
ok 9 the other one down
# useWASD: changing the keys should work too
ok 10 w up pressed
ok 11 key up is down
# on: keyup events
ok 12 w up
1..12
# tests 12
# pass 12
# ok
TAP version 13
# Arrows
# on: should fire keydown for arrow keys by default
ok 1 left down
ok 2 down down
# isDown: should know whether a key is down
ok 3 left
ok 4 down
ok 5 not up
ok 6 not right
# down: should include the right keys
ok 7 2 arrows
ok 8 one is left
ok 9 the other one down
# useWASD: changing the keys should work too
ok 10 w up pressed
ok 11 key up is down
# on: keyup events
ok 12 w up
1..12
# tests 12
# pass 12
# ok
TAP version 13
# Arrows
# on: should fire keydown for arrow keys by default
ok 1 left down
ok 2 down down
# isDown: should know whether a key is down
ok 3 left
ok 4 down
ok 5 not up
ok 6 not right
# down: should include the right keys
ok 7 2 arrows
ok 8 one is left
ok 9 the other one down
# useWASD: changing the keys should work too
ok 10 w up pressed
ok 11 key up is down
# on: keyup events
ok 12 w up
1..12
# tests 12
# pass 12
# ok
TAP version 13
# Arrows
# on: should fire keydown for arrow keys by default
ok 1 left down
ok 2 down down
# isDown: should know whether a key is down
ok 3 left
ok 4 down
ok 5 not up
ok 6 not right
# down: should include the right keys
ok 7 2 arrows
ok 8 one is left
ok 9 the other one down
# useWASD: changing the keys should work too
ok 10 w up pressed
ok 11 key up is down
# on: keyup events
ok 12 w up
1..12
# tests 12
# pass 12
# ok
TAP version 13
# Arrows
# on: should fire keydown for arrow keys by default
ok 1 left down
ok 2 down down
# isDown: should know whether a key is down
ok 3 left
ok 4 down
ok 5 not up
ok 6 not right
# down: should include the right keys
ok 7 2 arrows
ok 8 one is left
ok 9 the other one down
# useWASD: changing the keys should work too
ok 10 w up pressed
ok 11 key up is down
# on: keyup events
ok 12 w up
1..12
# tests 12
# pass 12
# ok
TAP version 13
# Arrows
# on: should fire keydown for arrow keys by default
ok 1 left down
ok 2 down down
# isDown: should know whether a key is down
ok 3 left
ok 4 down
ok 5 not up
ok 6 not right
# down: should include the right keys
ok 7 2 arrows
ok 8 one is left
ok 9 the other one down
# useWASD: changing the keys should work too
ok 10 w up pressed
ok 11 key up is down
# on: keyup events
ok 12 w up
1..12
# tests 12
# pass 12
# ok
TAP version 13
# Arrows
# on: should fire keydown for arrow keys by default
ok 1 left down
ok 2 down down
# isDown: should know whether a key is down
ok 3 left
ok 4 down
ok 5 not up
ok 6 not right
# down: should include the right keys
ok 7 2 arrows
ok 8 one is left
ok 9 the other one down
# useWASD: changing the keys should work too
ok 10 w up pressed
ok 11 key up is down
# on: keyup events
ok 12 w up
1..12
# tests 12
# pass 12
# ok
TAP version 13
# Arrows
# on: should fire keydown for arrow keys by default
ok 1 left down
ok 2 down down
# isDown: should know whether a key is down
ok 3 left
ok 4 down
ok 5 not up
ok 6 not right
# down: should include the right keys
ok 7 2 arrows
ok 8 one is left
ok 9 the other one down
# useWASD: changing the keys should work too
ok 10 w up pressed
ok 11 key up is down
# on: keyup events
ok 12 w up
1..12
# tests 12
# pass 12
# ok
TAP version 13
# Arrows
# on: should fire keydown for arrow keys by default
ok 1 left down
ok 2 down down
# isDown: should know whether a key is down
ok 3 left
ok 4 down
ok 5 not up
ok 6 not right
# down: should include the right keys
ok 7 2 arrows
ok 8 one is left
ok 9 the other one down
# useWASD: changing the keys should work too
ok 10 w up pressed
ok 11 key up is down
# on: keyup events
ok 12 w up
1..12
# tests 12
# pass 12
# ok
TAP version 13
# Arrows
# on: should fire keydown for arrow keys by default
ok 1 left down
ok 2 down down
# isDown: should know whether a key is down
ok 3 left
ok 4 down
ok 5 not up
ok 6 not right
# down: should include the right keys
ok 7 2 arrows
ok 8 one is left
ok 9 the other one down
# useWASD: changing the keys should work too
ok 10 w up pressed
ok 11 key up is down
# on: keyup events
ok 12 w up
1..12
# tests 12
# pass 12
# ok
TAP version 13
# Arrows
# on: should fire keydown for arrow keys by default
ok 1 left down
ok 2 down down
# isDown: should know whether a key is down
ok 3 left
ok 4 down
ok 5 not up
ok 6 not right
# down: should include the right keys
ok 7 2 arrows
ok 8 one is left
ok 9 the other one down
# useWASD: changing the keys should work too
ok 10 w up pressed
ok 11 key up is down
# on: keyup events
ok 12 w up
1..12
# tests 12
# pass 12
# ok
TAP version 13
# Arrows
# on: should fire keydown for arrow keys by default
ok 1 left down
ok 2 down down
# isDown: should know whether a key is down
ok 3 left
ok 4 down
ok 5 not up
ok 6 not right
# down: should include the right keys
ok 7 2 arrows
ok 8 one is left
ok 9 the other one down
# useWASD: changing the keys should work too
ok 10 w up pressed
ok 11 key up is down
# on: keyup events
ok 12 w up
1..12
# tests 12
# pass 12
# ok
TAP version 13
# Arrows
# on: should fire keydown for arrow keys by default
ok 1 left down
ok 2 down down
# isDown: should know whether a key is down
ok 3 left
ok 4 down
ok 5 not up
ok 6 not right
# down: should include the right keys
ok 7 2 arrows
ok 8 one is left
ok 9 the other one down
# useWASD: changing the keys should work too
ok 10 w up pressed
ok 11 key up is down
# on: keyup events
ok 12 w up
1..12
# tests 12
# pass 12
# ok
TAP version 13
# Arrows
# on: should fire keydown for arrow keys by default
ok 1 left down
ok 2 down down
# isDown: should know whether a key is down
ok 3 left
ok 4 down
ok 5 not up
ok 6 not right
# down: should include the right keys
ok 7 2 arrows
ok 8 one is left
ok 9 the other one down
# useWASD: changing the keys should work too
ok 10 w up pressed
ok 11 key up is down
# on: keyup events
ok 12 w up
1..12
# tests 12
# pass 12
# ok
TAP version 13
# Arrows
# on: should fire keydown for arrow keys by default
not ok 1 DOMException: NOT_SUPPORTED_ERR
---
operator: error
expected: undefined
actual: { code: 9, message: 'NOT_SUPPORTED_ERR' }
stack:
dispatchKey([arguments not available])@http://git.testling.com/work/finnp/repos/4754f18c9bb72e08b5ebc4e51b03fdd35134af44.1401221190460/1401221190668.2c7f16db.js:4282
<anonymous function: module.exports>([arguments not available])@http://git.testling.com/work/finnp/repos/4754f18c9bb72e08b5ebc4e51b03fdd35134af44.1401221190460/1401221190668.2c7f16db.js:4321
simulateKeyEvent([arguments not available])@http://git.testling.com/work/finnp/repos/4754f18c9bb72e08b5ebc4e51b03fdd35134af44.1401221190460/1401221190668.2c7f16db.js:5593
<anonymous function: 37>([arguments not available])@http://git.testling.com/work/finnp/repos/4754f18c9bb72e08b5ebc4e51b03fdd35134af44.1401221190460/1401221190668.2c7f16db.js:5625
bound([arguments not available])@http://git.testling.com/work/finnp/repos/4754f18c9bb72e08b5ebc4e51b03fdd35134af44.1401221190460/1401221190668.2c7f16db.js:4763
<anonymous function: Test.prototype.run>([arguments not available])@http://git.testling.com/work/finnp/repos/4754f18c9bb72e08b5ebc4e51b03fdd35134af44.1401221190460/1401221190668.2c7f16db.js:4777
bound([arguments not available])@http://git.testling.com/work/finnp/repos/4754f18c9bb72e08b5ebc4e51b03fdd35134af44.1401221190460/1401221190668.2c7f16db.js:4763
<anonymous function: Test.prototype._end>([arguments not available])@http://git.testling.com/work/finnp/repos/4754f18c9bb72e08b5ebc4e51b03fdd35134af44.1401221190460/1401221190668.2c7f16db.js:4837
bound([arguments not available])@http://git.testling.com/work/finnp/repos/4754f18c9bb72e08b5ebc4e51b03fdd35134af44.1401221190460/1401221190668.2c7f16db.js:4763
<anonymous function: Test.prototype.test>([arguments not available])@http://git.testling.com/work/finnp/repos/4754f18c9bb72e08b5ebc4e51b03fdd35134af44.1401221190460/1401221190668.2c7f16db.js:4805
...
# isDown: should know whether a key is down
not ok 2 left
---
operator: ok
expected: true
actual: false
...
not ok 3 down
---
operator: ok
expected: true
actual: false
...
ok 4 not up
ok 5 not right
# down: should include the right keys
not ok 6 2 arrows
---
operator: ok
expected: true
actual: false
...
not ok 7 one is left
---
operator: ok
expected: true
actual: false
...
not ok 8 the other one down
---
operator: ok
expected: true
actual: false
...
# useWASD: changing the keys should work too
not ok 9 DOMException: NOT_SUPPORTED_ERR
---
operator: error
expected: undefined
actual: { code: 9, message: 'NOT_SUPPORTED_ERR' }
stack:
dispatchKey([arguments not available])@http://git.testling.com/work/finnp/repos/4754f18c9bb72e08b5ebc4e51b03fdd35134af44.1401221190460/1401221190668.2c7f16db.js:4282
<anonymous function: module.exports>([arguments not available])@http://git.testling.com/work/finnp/repos/4754f18c9bb72e08b5ebc4e51b03fdd35134af44.1401221190460/1401221190668.2c7f16db.js:4321
simulateKeyEvent([arguments not available])@http://git.testling.com/work/finnp/repos/4754f18c9bb72e08b5ebc4e51b03fdd35134af44.1401221190460/1401221190668.2c7f16db.js:5593
<anonymous function: 37>([arguments not available])@http://git.testling.com/work/finnp/repos/4754f18c9bb72e08b5ebc4e51b03fdd35134af44.1401221190460/1401221190668.2c7f16db.js:5654
bound([arguments not available])@http://git.testling.com/work/finnp/repos/4754f18c9bb72e08b5ebc4e51b03fdd35134af44.1401221190460/1401221190668.2c7f16db.js:4763
<anonymous function: Test.prototype.run>([arguments not available])@http://git.testling.com/work/finnp/repos/4754f18c9bb72e08b5ebc4e51b03fdd35134af44.1401221190460/1401221190668.2c7f16db.js:4777
bound([arguments not available])@http://git.testling.com/work/finnp/repos/4754f18c9bb72e08b5ebc4e51b03fdd35134af44.1401221190460/1401221190668.2c7f16db.js:4763
<anonymous function: Test.prototype._end>([arguments not available])@http://git.testling.com/work/finnp/repos/4754f18c9bb72e08b5ebc4e51b03fdd35134af44.1401221190460/1401221190668.2c7f16db.js:4837
bound([arguments not available])@http://git.testling.com/work/finnp/repos/4754f18c9bb72e08b5ebc4e51b03fdd35134af44.1401221190460/1401221190668.2c7f16db.js:4763
<anonymous function: Test.prototype._end>([arguments not available])@http://git.testling.com/work/finnp/repos/4754f18c9bb72e08b5ebc4e51b03fdd35134af44.1401221190460/1401221190668.2c7f16db.js:4836
...
# on: keyup events
not ok 10 DOMException: NOT_SUPPORTED_ERR
---
operator: error
expected: undefined
actual: { code: 9, message: 'NOT_SUPPORTED_ERR' }
stack:
dispatchKey([arguments not available])@http://git.testling.com/work/finnp/repos/4754f18c9bb72e08b5ebc4e51b03fdd35134af44.1401221190460/1401221190668.2c7f16db.js:4282
<anonymous function: module.exports>([arguments not available])@http://git.testling.com/work/finnp/repos/4754f18c9bb72e08b5ebc4e51b03fdd35134af44.1401221190460/1401221190668.2c7f16db.js:4321
simulateKeyEvent([arguments not available])@http://git.testling.com/work/finnp/repos/4754f18c9bb72e08b5ebc4e51b03fdd35134af44.1401221190460/1401221190668.2c7f16db.js:5593
<anonymous function: 37>([arguments not available])@http://git.testling.com/work/finnp/repos/4754f18c9bb72e08b5ebc4e51b03fdd35134af44.1401221190460/1401221190668.2c7f16db.js:5663
bound([arguments not available])@http://git.testling.com/work/finnp/repos/4754f18c9bb72e08b5ebc4e51b03fdd35134af44.1401221190460/1401221190668.2c7f16db.js:4763
<anonymous function: Test.prototype.run>([arguments not available])@http://git.testling.com/work/finnp/repos/4754f18c9bb72e08b5ebc4e51b03fdd35134af44.1401221190460/1401221190668.2c7f16db.js:4777
bound([arguments not available])@http://git.testling.com/work/finnp/repos/4754f18c9bb72e08b5ebc4e51b03fdd35134af44.1401221190460/1401221190668.2c7f16db.js:4763
<anonymous function: Test.prototype._end>([arguments not available])@http://git.testling.com/work/finnp/repos/4754f18c9bb72e08b5ebc4e51b03fdd35134af44.1401221190460/1401221190668.2c7f16db.js:4837
bound([arguments not available])@http://git.testling.com/work/finnp/repos/4754f18c9bb72e08b5ebc4e51b03fdd35134af44.1401221190460/1401221190668.2c7f16db.js:4763
<anonymous function: Test.prototype._end>([arguments not available])@http://git.testling.com/work/finnp/repos/4754f18c9bb72e08b5ebc4e51b03fdd35134af44.1401221190460/1401221190668.2c7f16db.js:4836
...
not ok 11 plan != count
---
operator: fail
expected: 2
actual: 1
...
not ok 12 plan != count
---
operator: fail
expected: 2
actual: 1
...
1..12
# tests 12
# pass 2
# fail 10
TAP version 13
# Arrows
# on: should fire keydown for arrow keys by default
not ok 1 DOMException: NOT_SUPPORTED_ERR
---
operator: error
expected: undefined
actual: { code: 9, message: 'NOT_SUPPORTED_ERR' }
stack:
dispatchKey([arguments not available])@http://git.testling.com/work/finnp/repos/4754f18c9bb72e08b5ebc4e51b03fdd35134af44.1401221190460/1401221190668.2c7f16db.js:4266
<anonymous function: module.exports>([arguments not available])@http://git.testling.com/work/finnp/repos/4754f18c9bb72e08b5ebc4e51b03fdd35134af44.1401221190460/1401221190668.2c7f16db.js:4321
simulateKeyEvent([arguments not available])@http://git.testling.com/work/finnp/repos/4754f18c9bb72e08b5ebc4e51b03fdd35134af44.1401221190460/1401221190668.2c7f16db.js:5593
<anonymous function: 37>([arguments not available])@http://git.testling.com/work/finnp/repos/4754f18c9bb72e08b5ebc4e51b03fdd35134af44.1401221190460/1401221190668.2c7f16db.js:5625
bound([arguments not available])@http://git.testling.com/work/finnp/repos/4754f18c9bb72e08b5ebc4e51b03fdd35134af44.1401221190460/1401221190668.2c7f16db.js:4763
<anonymous function: Test.prototype.run>([arguments not available])@http://git.testling.com/work/finnp/repos/4754f18c9bb72e08b5ebc4e51b03fdd35134af44.1401221190460/1401221190668.2c7f16db.js:4777
bound([arguments not available])@http://git.testling.com/work/finnp/repos/4754f18c9bb72e08b5ebc4e51b03fdd35134af44.1401221190460/1401221190668.2c7f16db.js:4763
<anonymous function: Test.prototype._end>([arguments not available])@http://git.testling.com/work/finnp/repos/4754f18c9bb72e08b5ebc4e51b03fdd35134af44.1401221190460/1401221190668.2c7f16db.js:4837
bound([arguments not available])@http://git.testling.com/work/finnp/repos/4754f18c9bb72e08b5ebc4e51b03fdd35134af44.1401221190460/1401221190668.2c7f16db.js:4763
<anonymous function: Test.prototype.test>([arguments not available])@http://git.testling.com/work/finnp/repos/4754f18c9bb72e08b5ebc4e51b03fdd35134af44.1401221190460/1401221190668.2c7f16db.js:4805
...
# isDown: should know whether a key is down
not ok 2 left
---
operator: ok
expected: true
actual: false
...
not ok 3 down
---
operator: ok
expected: true
actual: false
...
ok 4 not up
ok 5 not right
# down: should include the right keys
not ok 6 2 arrows
---
operator: ok
expected: true
actual: false
...
not ok 7 one is left
---
operator: ok
expected: true
actual: false
...
not ok 8 the other one down
---
operator: ok
expected: true
actual: false
...
# useWASD: changing the keys should work too
not ok 9 DOMException: NOT_SUPPORTED_ERR
---
operator: error
expected: undefined
actual: { code: 9, message: 'NOT_SUPPORTED_ERR' }
stack:
dispatchKey([arguments not available])@http://git.testling.com/work/finnp/repos/4754f18c9bb72e08b5ebc4e51b03fdd35134af44.1401221190460/1401221190668.2c7f16db.js:4266
<anonymous function: module.exports>([arguments not available])@http://git.testling.com/work/finnp/repos/4754f18c9bb72e08b5ebc4e51b03fdd35134af44.1401221190460/1401221190668.2c7f16db.js:4321
simulateKeyEvent([arguments not available])@http://git.testling.com/work/finnp/repos/4754f18c9bb72e08b5ebc4e51b03fdd35134af44.1401221190460/1401221190668.2c7f16db.js:5593
<anonymous function: 37>([arguments not available])@http://git.testling.com/work/finnp/repos/4754f18c9bb72e08b5ebc4e51b03fdd35134af44.1401221190460/1401221190668.2c7f16db.js:5654
bound([arguments not available])@http://git.testling.com/work/finnp/repos/4754f18c9bb72e08b5ebc4e51b03fdd35134af44.1401221190460/1401221190668.2c7f16db.js:4763
<anonymous function: Test.prototype.run>([arguments not available])@http://git.testling.com/work/finnp/repos/4754f18c9bb72e08b5ebc4e51b03fdd35134af44.1401221190460/1401221190668.2c7f16db.js:4777
bound([arguments not available])@http://git.testling.com/work/finnp/repos/4754f18c9bb72e08b5ebc4e51b03fdd35134af44.1401221190460/1401221190668.2c7f16db.js:4763
<anonymous function: Test.prototype._end>([arguments not available])@http://git.testling.com/work/finnp/repos/4754f18c9bb72e08b5ebc4e51b03fdd35134af44.1401221190460/1401221190668.2c7f16db.js:4837
bound([arguments not available])@http://git.testling.com/work/finnp/repos/4754f18c9bb72e08b5ebc4e51b03fdd35134af44.1401221190460/1401221190668.2c7f16db.js:4763
<anonymous function: Test.prototype._end>([arguments not available])@http://git.testling.com/work/finnp/repos/4754f18c9bb72e08b5ebc4e51b03fdd35134af44.1401221190460/1401221190668.2c7f16db.js:4836
...
# on: keyup events
not ok 10 DOMException: NOT_SUPPORTED_ERR
---
operator: error
expected: undefined
actual: { code: 9, message: 'NOT_SUPPORTED_ERR' }
stack:
dispatchKey([arguments not available])@http://git.testling.com/work/finnp/repos/4754f18c9bb72e08b5ebc4e51b03fdd35134af44.1401221190460/1401221190668.2c7f16db.js:4266
<anonymous function: module.exports>([arguments not available])@http://git.testling.com/work/finnp/repos/4754f18c9bb72e08b5ebc4e51b03fdd35134af44.1401221190460/1401221190668.2c7f16db.js:4321
simulateKeyEvent([arguments not available])@http://git.testling.com/work/finnp/repos/4754f18c9bb72e08b5ebc4e51b03fdd35134af44.1401221190460/1401221190668.2c7f16db.js:5593
<anonymous function: 37>([arguments not available])@http://git.testling.com/work/finnp/repos/4754f18c9bb72e08b5ebc4e51b03fdd35134af44.1401221190460/1401221190668.2c7f16db.js:5663
bound([arguments not available])@http://git.testling.com/work/finnp/repos/4754f18c9bb72e08b5ebc4e51b03fdd35134af44.1401221190460/1401221190668.2c7f16db.js:4763
<anonymous function: Test.prototype.run>([arguments not available])@http://git.testling.com/work/finnp/repos/4754f18c9bb72e08b5ebc4e51b03fdd35134af44.1401221190460/1401221190668.2c7f16db.js:4777
bound([arguments not available])@http://git.testling.com/work/finnp/repos/4754f18c9bb72e08b5ebc4e51b03fdd35134af44.1401221190460/1401221190668.2c7f16db.js:4763
<anonymous function: Test.prototype._end>([arguments not available])@http://git.testling.com/work/finnp/repos/4754f18c9bb72e08b5ebc4e51b03fdd35134af44.1401221190460/1401221190668.2c7f16db.js:4837
bound([arguments not available])@http://git.testling.com/work/finnp/repos/4754f18c9bb72e08b5ebc4e51b03fdd35134af44.1401221190460/1401221190668.2c7f16db.js:4763
<anonymous function: Test.prototype._end>([arguments not available])@http://git.testling.com/work/finnp/repos/4754f18c9bb72e08b5ebc4e51b03fdd35134af44.1401221190460/1401221190668.2c7f16db.js:4836
...
not ok 11 plan != count
---
operator: fail
expected: 2
actual: 1
...
not ok 12 plan != count
---
operator: fail
expected: 2
actual: 1
...
1..12
# tests 12
# pass 2
# fail 10
TAP version 13
# Arrows
# on: should fire keydown for arrow keys by default
not ok 1 DOMException: NOT_SUPPORTED_ERR
---
operator: error
expected: undefined
actual: { code: 9, message: 'NOT_SUPPORTED_ERR' }
stack:
dispatchKey([arguments not available])@http://git.testling.com/work/finnp/repos/4754f18c9bb72e08b5ebc4e51b03fdd35134af44.1401221190460/1401221190668.2c7f16db.js:4282
<anonymous function: module.exports>([arguments not available])@http://git.testling.com/work/finnp/repos/4754f18c9bb72e08b5ebc4e51b03fdd35134af44.1401221190460/1401221190668.2c7f16db.js:4321
simulateKeyEvent([arguments not available])@http://git.testling.com/work/finnp/repos/4754f18c9bb72e08b5ebc4e51b03fdd35134af44.1401221190460/1401221190668.2c7f16db.js:5593
<anonymous function: 37>([arguments not available])@http://git.testling.com/work/finnp/repos/4754f18c9bb72e08b5ebc4e51b03fdd35134af44.1401221190460/1401221190668.2c7f16db.js:5625
bound([arguments not available])@http://git.testling.com/work/finnp/repos/4754f18c9bb72e08b5ebc4e51b03fdd35134af44.1401221190460/1401221190668.2c7f16db.js:4763
<anonymous function: Test.prototype.run>([arguments not available])@http://git.testling.com/work/finnp/repos/4754f18c9bb72e08b5ebc4e51b03fdd35134af44.1401221190460/1401221190668.2c7f16db.js:4777
bound([arguments not available])@http://git.testling.com/work/finnp/repos/4754f18c9bb72e08b5ebc4e51b03fdd35134af44.1401221190460/1401221190668.2c7f16db.js:4763
<anonymous function: Test.prototype._end>([arguments not available])@http://git.testling.com/work/finnp/repos/4754f18c9bb72e08b5ebc4e51b03fdd35134af44.1401221190460/1401221190668.2c7f16db.js:4837
bound([arguments not available])@http://git.testling.com/work/finnp/repos/4754f18c9bb72e08b5ebc4e51b03fdd35134af44.1401221190460/1401221190668.2c7f16db.js:4763
<anonymous function: Test.prototype.test>([arguments not available])@http://git.testling.com/work/finnp/repos/4754f18c9bb72e08b5ebc4e51b03fdd35134af44.1401221190460/1401221190668.2c7f16db.js:4805
...
# isDown: should know whether a key is down
not ok 2 left
---
operator: ok
expected: true
actual: false
...
not ok 3 down
---
operator: ok
expected: true
actual: false
...
ok 4 not up
ok 5 not right
# down: should include the right keys
not ok 6 2 arrows
---
operator: ok
expected: true
actual: false
...
not ok 7 one is left
---
operator: ok
expected: true
actual: false
...
not ok 8 the other one down
---
operator: ok
expected: true
actual: false
...
# useWASD: changing the keys should work too
not ok 9 DOMException: NOT_SUPPORTED_ERR
---
operator: error
expected: undefined
actual: { code: 9, message: 'NOT_SUPPORTED_ERR' }
stack:
dispatchKey([arguments not available])@http://git.testling.com/work/finnp/repos/4754f18c9bb72e08b5ebc4e51b03fdd35134af44.1401221190460/1401221190668.2c7f16db.js:4282
<anonymous function: module.exports>([arguments not available])@http://git.testling.com/work/finnp/repos/4754f18c9bb72e08b5ebc4e51b03fdd35134af44.1401221190460/1401221190668.2c7f16db.js:4321
simulateKeyEvent([arguments not available])@http://git.testling.com/work/finnp/repos/4754f18c9bb72e08b5ebc4e51b03fdd35134af44.1401221190460/1401221190668.2c7f16db.js:5593
<anonymous function: 37>([arguments not available])@http://git.testling.com/work/finnp/repos/4754f18c9bb72e08b5ebc4e51b03fdd35134af44.1401221190460/1401221190668.2c7f16db.js:5654
bound([arguments not available])@http://git.testling.com/work/finnp/repos/4754f18c9bb72e08b5ebc4e51b03fdd35134af44.1401221190460/1401221190668.2c7f16db.js:4763
<anonymous function: Test.prototype.run>([arguments not available])@http://git.testling.com/work/finnp/repos/4754f18c9bb72e08b5ebc4e51b03fdd35134af44.1401221190460/1401221190668.2c7f16db.js:4777
bound([arguments not available])@http://git.testling.com/work/finnp/repos/4754f18c9bb72e08b5ebc4e51b03fdd35134af44.1401221190460/1401221190668.2c7f16db.js:4763
<anonymous function: Test.prototype._end>([arguments not available])@http://git.testling.com/work/finnp/repos/4754f18c9bb72e08b5ebc4e51b03fdd35134af44.1401221190460/1401221190668.2c7f16db.js:4837
bound([arguments not available])@http://git.testling.com/work/finnp/repos/4754f18c9bb72e08b5ebc4e51b03fdd35134af44.1401221190460/1401221190668.2c7f16db.js:4763
<anonymous function: Test.prototype._end>([arguments not available])@http://git.testling.com/work/finnp/repos/4754f18c9bb72e08b5ebc4e51b03fdd35134af44.1401221190460/1401221190668.2c7f16db.js:4836
...
# on: keyup events
not ok 10 DOMException: NOT_SUPPORTED_ERR
---
operator: error
expected: undefined
actual: { code: 9, message: 'NOT_SUPPORTED_ERR' }
stack:
dispatchKey([arguments not available])@http://git.testling.com/work/finnp/repos/4754f18c9bb72e08b5ebc4e51b03fdd35134af44.1401221190460/1401221190668.2c7f16db.js:4282
<anonymous function: module.exports>([arguments not available])@http://git.testling.com/work/finnp/repos/4754f18c9bb72e08b5ebc4e51b03fdd35134af44.1401221190460/1401221190668.2c7f16db.js:4321
simulateKeyEvent([arguments not available])@http://git.testling.com/work/finnp/repos/4754f18c9bb72e08b5ebc4e51b03fdd35134af44.1401221190460/1401221190668.2c7f16db.js:5593
<anonymous function: 37>([arguments not available])@http://git.testling.com/work/finnp/repos/4754f18c9bb72e08b5ebc4e51b03fdd35134af44.1401221190460/1401221190668.2c7f16db.js:5663
bound([arguments not available])@http://git.testling.com/work/finnp/repos/4754f18c9bb72e08b5ebc4e51b03fdd35134af44.1401221190460/1401221190668.2c7f16db.js:4763
<anonymous function: Test.prototype.run>([arguments not available])@http://git.testling.com/work/finnp/repos/4754f18c9bb72e08b5ebc4e51b03fdd35134af44.1401221190460/1401221190668.2c7f16db.js:4777
bound([arguments not available])@http://git.testling.com/work/finnp/repos/4754f18c9bb72e08b5ebc4e51b03fdd35134af44.1401221190460/1401221190668.2c7f16db.js:4763
<anonymous function: Test.prototype._end>([arguments not available])@http://git.testling.com/work/finnp/repos/4754f18c9bb72e08b5ebc4e51b03fdd35134af44.1401221190460/1401221190668.2c7f16db.js:4837
bound([arguments not available])@http://git.testling.com/work/finnp/repos/4754f18c9bb72e08b5ebc4e51b03fdd35134af44.1401221190460/1401221190668.2c7f16db.js:4763
<anonymous function: Test.prototype._end>([arguments not available])@http://git.testling.com/work/finnp/repos/4754f18c9bb72e08b5ebc4e51b03fdd35134af44.1401221190460/1401221190668.2c7f16db.js:4836
...
not ok 11 plan != count
---
operator: fail
expected: 2
actual: 1
...
not ok 12 plan != count
---
operator: fail
expected: 2
actual: 1
...
1..12
# tests 12
# pass 2
# fail 10
TAP version 13
# Arrows
# on: should fire keydown for arrow keys by default
ok 1 left down
ok 2 down down
# isDown: should know whether a key is down
ok 3 left
ok 4 down
ok 5 not up
ok 6 not right
# down: should include the right keys
ok 7 2 arrows
ok 8 one is left
ok 9 the other one down
# useWASD: changing the keys should work too
ok 10 w up pressed
ok 11 key up is down
# on: keyup events
ok 12 w up
1..12
# tests 12
# pass 12
# ok
TAP version 13
# Arrows
# on: should fire keydown for arrow keys by default
ok 1 left down
ok 2 down down
# isDown: should know whether a key is down
ok 3 left
ok 4 down
ok 5 not up
ok 6 not right
# down: should include the right keys
ok 7 2 arrows
ok 8 one is left
ok 9 the other one down
# useWASD: changing the keys should work too
ok 10 w up pressed
ok 11 key up is down
# on: keyup events
ok 12 w up
1..12
# tests 12
# pass 12
# ok
TAP version 13
# Arrows
# on: should fire keydown for arrow keys by default
ok 1 left down
ok 2 down down
# isDown: should know whether a key is down
ok 3 left
ok 4 down
ok 5 not up
ok 6 not right
# down: should include the right keys
ok 7 2 arrows
ok 8 one is left
ok 9 the other one down
# useWASD: changing the keys should work too
ok 10 w up pressed
ok 11 key up is down
# on: keyup events
ok 12 w up
1..12
# tests 12
# pass 12
# ok
TAP version 13
# Arrows
# on: should fire keydown for arrow keys by default
ok 1 left down
ok 2 down down
# isDown: should know whether a key is down
ok 3 left
ok 4 down
ok 5 not up
ok 6 not right
# down: should include the right keys
ok 7 2 arrows
ok 8 one is left
ok 9 the other one down
# useWASD: changing the keys should work too
ok 10 w up pressed
ok 11 key up is down
# on: keyup events
ok 12 w up
1..12
# tests 12
# pass 12
# ok
TAP version 13
# Arrows
# on: should fire keydown for arrow keys by default
ok 1 left down
ok 2 down down
# isDown: should know whether a key is down
ok 3 left
ok 4 down
ok 5 not up
ok 6 not right
# down: should include the right keys
ok 7 2 arrows
ok 8 one is left
ok 9 the other one down
# useWASD: changing the keys should work too
ok 10 w up pressed
ok 11 key up is down
# on: keyup events
ok 12 w up
1..12
# tests 12
# pass 12
# ok
TAP version 13
# Arrows
# on: should fire keydown for arrow keys by default
ok 1 left down
ok 2 down down
# isDown: should know whether a key is down
ok 3 left
ok 4 down
ok 5 not up
ok 6 not right
# down: should include the right keys
ok 7 2 arrows
ok 8 one is left
ok 9 the other one down
# useWASD: changing the keys should work too
ok 10 w up pressed
ok 11 key up is down
# on: keyup events
ok 12 w up
1..12
# tests 12
# pass 12
# ok