File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 205205 } , 500 ) ;
206206 } ) ;
207207
208- test ( "when loading a page where data-url is defined on a sub element set the hash with that url" , function ( ) {
208+ asyncTest ( "when loading a page where data-url is defined on a sub element set the hash with that url" , function ( ) {
209209 location . hash = "" ;
210210 $ ( "#data-url a" ) . click ( ) ;
211211
212212 setTimeout ( function ( ) {
213213 ok ( location . hash . indexOf ( "#foo/" ) >= 0 ) ;
214214 start ( ) ;
215- } , 500 ) ;
215+ } , 1000 ) ;
216216 stop ( ) ;
217217 } ) ;
218218
219- test ( "when loading a page where data-url is not defined on a sub element hash defaults to the url" , function ( ) {
219+ asyncTest ( "when loading a page where data-url is not defined on a sub element hash defaults to the url" , function ( ) {
220220 location . hash = "" ;
221221 $ ( "#non-data-url a" ) . click ( ) ;
222222
223223 setTimeout ( function ( ) {
224224 ok ( location . hash . indexOf ( "#non-data-url.html" ) >= 0 ) ;
225225 start ( ) ;
226- } , 500 ) ;
226+ } , 1000 ) ;
227227 stop ( ) ;
228228 } ) ;
229229} ) ( jQuery ) ;
You can’t perform that action at this time.
0 commit comments