mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-03 21:43:21 +00:00 
			
		
		
		
	node tests: Remove __esModule cruft.
We just set __esModule in our rewiremock helper.
This commit is contained in:
		
				
					committed by
					
						
						Steve Howell
					
				
			
			
				
	
			
			
			
						parent
						
							30c7108955
						
					
				
				
					commit
					167fda142c
				
			@@ -16,17 +16,13 @@ const page_params = set_global("page_params", {
 | 
			
		||||
 | 
			
		||||
const noop = () => {};
 | 
			
		||||
 | 
			
		||||
const topic_list = {__esModule: true};
 | 
			
		||||
rewiremock("../../static/js/topic_list").with(topic_list);
 | 
			
		||||
 | 
			
		||||
const narrow_state = rewiremock("../../static/js/narrow_state").with({});
 | 
			
		||||
const topic_list = rewiremock("../../static/js/topic_list").with({});
 | 
			
		||||
rewiremock("../../static/js/keydown_util").with({
 | 
			
		||||
    handle: noop,
 | 
			
		||||
});
 | 
			
		||||
 | 
			
		||||
rewiremock("../../static/js/ui").with({get_scroll_element: (element) => element});
 | 
			
		||||
 | 
			
		||||
const narrow_state = rewiremock("../../static/js/narrow_state").with({__esModule: true});
 | 
			
		||||
 | 
			
		||||
const {Filter} = zrequire("../js/filter");
 | 
			
		||||
const stream_sort = zrequire("stream_sort");
 | 
			
		||||
const stream_color = zrequire("stream_color");
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user