mirror of
https://github.com/openseadragon/openseadragon.git
synced 2024-11-25 14:46:10 +03:00
Reworded the test messages to 'should be' form as per standard practice.
This commit is contained in:
parent
95f0591210
commit
9f09951840
@ -284,12 +284,12 @@
|
||||
asyncTest( 'tile-drawing event', function () {
|
||||
var tileDrawing = function ( event ) {
|
||||
viewer.removeHandler( 'tile-drawing', tileDrawing );
|
||||
ok( event, 'Event handler received event data' );
|
||||
ok( event, 'Event handler should be invoked' );
|
||||
if ( event ) {
|
||||
// Make sure we have the expected elements set
|
||||
ok(event.context, "Context is not set");
|
||||
ok(event.tile, "Tile is not set");
|
||||
ok(event.rendered, "Rendered is not set");
|
||||
ok(event.context, "Context should be set");
|
||||
ok(event.tile, "Tile should be set");
|
||||
ok(event.rendered, "Rendered should be set");
|
||||
}
|
||||
viewer.close();
|
||||
start();
|
||||
|
Loading…
Reference in New Issue
Block a user