File tree Expand file tree Collapse file tree 1 file changed +12
-4
lines changed
Expand file tree Collapse file tree 1 file changed +12
-4
lines changed Original file line number Diff line number Diff line change 1313 < link rel ="stylesheet " href ="../../../external/qunit.css " type ="text/css "/>
1414 < script type ="text/javascript " src ="../../../external/qunit.js "> </ script >
1515 < script type ="text/javascript " src ="../../jquery.simulate.js "> </ script >
16- < script type ="text/javascript " src ="../testsuite.js "> </ script >
1716
18- <!--
1917 < script type ="text/javascript " src ="draggable_core.js "> </ script >
2018 < script type ="text/javascript " src ="draggable_defaults.js "> </ script >
2119 < script type ="text/javascript " src ="draggable_events.js "> </ script >
2220 < script type ="text/javascript " src ="draggable_methods.js "> </ script >
2321 < script type ="text/javascript " src ="draggable_options.js "> </ script >
2422 < script type ="text/javascript " src ="draggable_tickets.js "> </ script >
25- -->
26- < script type ="text/javascript "> test ( "draggable" , function ( ) { ok ( true , "disabled draggable testsuite" ) ; } ) ; </ script >
23+
24+ < script type ="text/javascript ">
25+ // disable this stale testsuite for testswarm only
26+ var url = window . location . search ;
27+ url = decodeURIComponent ( url . slice ( url . indexOf ( "swarmURL=" ) + 9 ) ) ;
28+ if ( url && url . indexOf ( "http" ) == 0 ) {
29+ // reset config to kill previous tests; make sure testsuite.js is loaded afterwards to init the testswarm script
30+ QUnit . init ( ) ;
31+ test ( "draggable" , function ( ) { ok ( true , "disabled draggable testsuite" ) ; } ) ;
32+ }
33+ </ script >
34+ < script type ="text/javascript " src ="../testsuite.js "> </ script >
2735</ head >
2836< body >
2937
You can’t perform that action at this time.
0 commit comments