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 13
13
< link rel ="stylesheet " href ="../../../external/qunit.css " type ="text/css "/>
14
14
< script type ="text/javascript " src ="../../../external/qunit.js "> </ script >
15
15
< script type ="text/javascript " src ="../../jquery.simulate.js "> </ script >
16
- < script type ="text/javascript " src ="../testsuite.js "> </ script >
17
16
18
- <!--
19
17
< script type ="text/javascript " src ="draggable_core.js "> </ script >
20
18
< script type ="text/javascript " src ="draggable_defaults.js "> </ script >
21
19
< script type ="text/javascript " src ="draggable_events.js "> </ script >
22
20
< script type ="text/javascript " src ="draggable_methods.js "> </ script >
23
21
< script type ="text/javascript " src ="draggable_options.js "> </ script >
24
22
< 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 >
27
35
</ head >
28
36
< body >
29
37
You can’t perform that action at this time.
0 commit comments