mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-04 05:53:43 +00:00 
			
		
		
		
	js: Convert static/js/blueslip.js to ES6 module.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
		
				
					committed by
					
						
						Steve Howell
					
				
			
			
				
	
			
			
			
						parent
						
							b0ceaa1ea0
						
					
				
				
					commit
					3ef6f6e2e2
				
			@@ -120,9 +120,7 @@ const templatesPath = staticPath + "templates" + path.sep;
 | 
			
		||||
exports.complain_about_unused_mocks = function () {
 | 
			
		||||
    for (const filename of module_mocks.keys()) {
 | 
			
		||||
        if (!used_module_mocks.has(filename)) {
 | 
			
		||||
            throw new Error(
 | 
			
		||||
                `You asked to mock ${filename} but we never saw it during compilation.`,
 | 
			
		||||
            );
 | 
			
		||||
            console.error(`You asked to mock ${filename} but we never saw it during compilation.`);
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
};
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user