diff options
Diffstat (limited to 'vendor/desandro/imagesloaded/test/unit/no-images.js')
-rw-r--r-- | vendor/desandro/imagesloaded/test/unit/no-images.js | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/vendor/desandro/imagesloaded/test/unit/no-images.js b/vendor/desandro/imagesloaded/test/unit/no-images.js new file mode 100644 index 000000000..841216381 --- /dev/null +++ b/vendor/desandro/imagesloaded/test/unit/no-images.js @@ -0,0 +1,11 @@ +QUnit.test( 'no images', function( assert ) { + 'use strict'; + + var elem = document.querySelector('#no-images'); + var done = assert.async(); + imagesLoaded( elem, function() { + assert.ok( true, 'triggered with no images' ); + done(); + }); + +}); |