4 Commits

Author SHA1 Message Date
Max Hoffmann
91b2488ed2
Rework of testing setup 2018-03-02 16:51:31 -05:00
Tim Rourke
05c77b1a48 Move stub to helper file
Define containers once

Create new instance for each test

Linting

Linting

Add assertion, update stub

Use expecteds

Move expecteds up in scope

Use triggerEvent helper
2018-01-08 20:26:24 -06:00
Tim Rourke
8519349f0d Add tests for DragSensor
Clean up helpers and add docblocks

Add tests for DragSensor

Fix lint errors

Move expected clientX and clientY into vars for better visibility

Move expected clientX and clientY into vars for better visibility

Simplify comment

Remove unnecessary async callback

Remove unnecessary async callback

Remove unnecessary async callback

Don't mock clearTimeout

Rename test labels to match new method names
2017-11-06 21:14:48 -06:00
Max Hoffmann
85b231bc42
Restructure tests 2017-10-06 11:14:39 -04:00