mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-03 21:43:21 +00:00 
			
		
		
		
	reactions: Correctly convert template output to a jQuery object.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
		
				
					committed by
					
						
						Tim Abbott
					
				
			
			
				
	
			
			
			
						parent
						
							2320a8917e
						
					
				
				
					commit
					147a2c40b2
				
			@@ -890,8 +890,8 @@ test("insert_new_reaction (first reaction)", ({mock_template, override_rewire})
 | 
			
		||||
    $rows.set_find_results(".messagebox-content", $messagebox_content);
 | 
			
		||||
 | 
			
		||||
    let append_called = false;
 | 
			
		||||
    $messagebox_content.append = (element) => {
 | 
			
		||||
        assert.equal(element, "<msg-reactions-section-stub>");
 | 
			
		||||
    $messagebox_content.append = ($element) => {
 | 
			
		||||
        assert.equal($element.selector, "<msg-reactions-section-stub>");
 | 
			
		||||
        append_called = true;
 | 
			
		||||
    };
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user