mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-03 21:43:21 +00:00 
			
		
		
		
	node tests: Add test() wrapper for channel.
This commit is contained in:
		
				
					committed by
					
						
						Steve Howell
					
				
			
			
				
	
			
			
			
						parent
						
							5288d57c19
						
					
				
				
					commit
					0014bc1549
				
			@@ -11,6 +11,12 @@ let reload_in_progress = false;
 | 
			
		||||
let reload_pending = false;
 | 
			
		||||
export let csrf_failed_handler;
 | 
			
		||||
 | 
			
		||||
export function clear_for_testing() {
 | 
			
		||||
    reload_in_progress = false;
 | 
			
		||||
    reload_pending = false;
 | 
			
		||||
    csrf_failed_handler = undefined;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
export function is_pending() {
 | 
			
		||||
    return reload_pending;
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user