Add `wait` and `keyEvent` test helpers to jshint predef

Mute JSHint warnings caused by unchained `wait` and `keyEvent` helpers when building test suite.