mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-04 05:53:43 +00:00 
			
		
		
		
	zjsunit: Remove pointless reassignment of ‘module’.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
		
				
					committed by
					
						
						Tim Abbott
					
				
			
			
				
	
			
			
			
						parent
						
							cea7d713cd
						
					
				
				
					commit
					0423e6b7cc
				
			@@ -63,9 +63,8 @@ global.stub_templates = handlebars.stub_templates;
 | 
				
			|||||||
const noop = function () {};
 | 
					const noop = function () {};
 | 
				
			||||||
 | 
					
 | 
				
			||||||
// Set up fake module.hot
 | 
					// Set up fake module.hot
 | 
				
			||||||
// eslint-disable-next-line no-native-reassign
 | 
					const Module = require('module');
 | 
				
			||||||
module = require('module');
 | 
					Module.prototype.hot = {
 | 
				
			||||||
module.prototype.hot = {
 | 
					 | 
				
			||||||
    accept: noop,
 | 
					    accept: noop,
 | 
				
			||||||
};
 | 
					};
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user