Skip to content

Commit

Permalink
Fix: Zoom unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
EricHanLiu committed Aug 30, 2018
1 parent adefeca commit c73ca70
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions test/navigation_test.js
Original file line number Diff line number Diff line change
Expand Up @@ -156,10 +156,13 @@ describe('Navigation', function ()
el(settings.selector + 'zoom-out-button').click();
assertZoomIs(4, this, 'zoom buttons');

el(settings.selector + 'zoom-in-button').click();
assertZoomIs(5, this, 'zoom buttons');
setTimeout(() =>
{
el(settings.selector + 'zoom-in-button').click();
assertZoomIs(5, this, 'zoom buttons');

done();
done();
}, 600);
});

let diva = new Diva('diva-wrapper', { // jshint ignore:line
Expand Down

0 comments on commit c73ca70

Please sign in to comment.