parent
							
								
									797088c988
								
							
						
					
					
						commit
						5206457484
					
				
					 1 changed files with 7 additions and 7 deletions
				
			
		
							
								
								
									
										14
									
								
								test/test.js
									
										
									
									
									
								
							
							
						
						
									
										14
									
								
								test/test.js
									
										
									
									
									
								
							|  | @ -4,13 +4,6 @@ suite('Bärneruhr', function () { | ||||||
|     var $ = jQuery; |     var $ = jQuery; | ||||||
|     var elem; |     var elem; | ||||||
| 
 | 
 | ||||||
|     function cleanupCookies(id) { |  | ||||||
|         $.removeCookie('uhr-language' + id); |  | ||||||
|         $.removeCookie('uhr-mode' + id); |  | ||||||
|         $.removeCookie('uhr-status' + id); |  | ||||||
|         $.removeCookie('uhr-theme' + id); |  | ||||||
|     } |  | ||||||
| 
 |  | ||||||
|     setup(function () { |     setup(function () { | ||||||
|         elem = $('#u'); |         elem = $('#u'); | ||||||
|     }); |     }); | ||||||
|  | @ -28,6 +21,13 @@ suite('Bärneruhr', function () { | ||||||
|         window.location.hash = ''; |         window.location.hash = ''; | ||||||
|     }); |     }); | ||||||
| 
 | 
 | ||||||
|  |     function cleanupCookies(id) { | ||||||
|  |         $.removeCookie('uhr-language' + id); | ||||||
|  |         $.removeCookie('uhr-mode' + id); | ||||||
|  |         $.removeCookie('uhr-status' + id); | ||||||
|  |         $.removeCookie('uhr-theme' + id); | ||||||
|  |     } | ||||||
|  | 
 | ||||||
|     test('create and destroy widget', function () { |     test('create and destroy widget', function () { | ||||||
|         var uhr = elem.uhr('instance'); |         var uhr = elem.uhr('instance'); | ||||||
|         var id; |         var id; | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue