File tree Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Original file line number Diff line number Diff line change 15
15
< link rel ="stylesheet " href ="../../../external/qunit.css " type ="text/css "/>
16
16
< script type ="text/javascript " src ="../../../external/qunit.js "> </ script >
17
17
< script type ="text/javascript " src ="../../jquery.simulate.js "> </ script >
18
- < script type ="text/javascript " src ="../testsuite.js "> </ script >
19
18
20
19
< script type ="text/javascript " src ="slider_core.js "> </ script >
21
20
< script type ="text/javascript " src ="slider_defaults.js "> </ script >
22
21
< script type ="text/javascript " src ="slider_events.js "> </ script >
23
22
< script type ="text/javascript " src ="slider_methods.js "> </ script >
24
23
< script type ="text/javascript " src ="slider_options.js "> </ script >
25
24
< script type ="text/javascript " src ="slider_tickets.js "> </ script >
25
+
26
+ < script type ="text/javascript ">
27
+ // disable this stale testsuite for testswarm only
28
+ var url = window . location . search ;
29
+ url = decodeURIComponent ( url . slice ( url . indexOf ( "swarmURL=" ) + 9 ) ) ;
30
+ if ( url && url . indexOf ( "http" ) == 0 ) {
31
+ // reset config to kill previous tests; make sure testsuite.js is loaded afterwards to init the testswarm script
32
+ QUnit . init ( ) ;
33
+ test ( "slider" , function ( ) { ok ( true , "disabled slider testsuite" ) ; } ) ;
34
+ }
35
+ </ script >
36
+ < script type ="text/javascript " src ="../testsuite.js "> </ script >
26
37
</ head >
27
38
< body >
28
39
You can’t perform that action at this time.
0 commit comments