diff options
Diffstat (limited to 'ecomp-portal-FE/client/bower_components/jquery.event.drag-new/event.linger/test/requirements.js')
-rw-r--r-- | ecomp-portal-FE/client/bower_components/jquery.event.drag-new/event.linger/test/requirements.js | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/ecomp-portal-FE/client/bower_components/jquery.event.drag-new/event.linger/test/requirements.js b/ecomp-portal-FE/client/bower_components/jquery.event.drag-new/event.linger/test/requirements.js new file mode 100644 index 00000000..f16c4c7c --- /dev/null +++ b/ecomp-portal-FE/client/bower_components/jquery.event.drag-new/event.linger/test/requirements.js @@ -0,0 +1,23 @@ +module("Requirements"); + +test("jQuery",function(){ + + expect( 2 ); + + // make sure the right jquery is included + ok( window.jQuery, "jQuery exists" ); + ok( parseFloat( jQuery([]).jquery ) >= 1.4, "jQuery version is 1.4 or greater" ); + +}); + +test("Installation",function(){ + + expect( 4 ); + + // make sure the event interface is complete + ok( jQuery.event.special.lingerstart, "LINGERSTART special event is defined" ); + ok( jQuery.event.special.linger, "LINGER special event is defined" ); + ok( jQuery.event.special.lingerend, "LINGEREND special event is defined" ); + ok( jQuery([]).linger, "$('...').linger() method is defined" ); + +});
\ No newline at end of file |