bdc56be863 
								
									
								
							
								 
							
						 
						
							
							
								
								Auto fix  
							
							... 
							
							
							
							Signed-off-by: Aaron Raimist <aaron@raim.ist> 
							
						 
						
							2021-10-22 17:23:37 -05:00  
				
					
						
							
							
								 
						
							
							
								aaeb9969a4 
								
							
								 
							
						 
						
							
							
								
								Handle case where one message is pinned, and another unpinned  
							
							... 
							
							
							
							Signed-off-by: Paulo Pinto <paulo.pinto@automattic.com> 
							
						 
						
							2021-08-11 14:56:59 +01:00  
				
					
						
							
							
								 
						
							
							
								a51b114171 
								
							
								 
							
						 
						
							
							
								
								Change order of test cases  
							
							... 
							
							
							
							Just moving test cases so that "generic message" ones are grouped at the bottom.
Signed-off-by: Paulo Pinto <paulo.pinto@automattic.com> 
							
						 
						
							2021-08-11 14:51:37 +01:00  
				
					
						
							
							
								 
						
							
							
								ca8832f6fa 
								
							
								 
							
						 
						
							
							
								
								Fix test case  
							
							... 
							
							
							
							The test case is:
"mentions message when a single message was pinned, with multiple previously pinned messages"
However, the test case was also unpinning messages. That is now fixed.
Signed-off-by: Paulo Pinto <paulo.pinto@automattic.com> 
							
						 
						
							2021-08-11 14:47:50 +01:00  
				
					
						
							
							
								 
						
							
							
								79cf69bedb 
								
							
								 
							
						 
						
							
							
								
								Refactor tests so that snapshots aren't used  
							
							... 
							
							
							
							Signed-off-by: Paulo Pinto <paulo.pinto@automattic.com> 
							
						 
						
							2021-08-11 11:40:33 +01:00  
				
					
						
							
							
								 
						
							
							
								45fd3d83b0 
								
							
								 
							
						 
						
							
							
								
								Refactor tests  
							
							... 
							
							
							
							So that there's one top level `describe('TextForEvent')`, followed by a nested
`describe('textForPinnedEvent')`, containting all the `it()`s.
Signed-off-by: Paulo Pinto <paulo.pinto@automattic.com> 
							
						 
						
							2021-08-10 16:06:34 +01:00  
				
					
						
							
							
								 
						
							
							
								400e772594 
								
							
								 
							
						 
						
							
							
								
								Fix formatting  
							
							... 
							
							
							
							Signed-off-by: Paulo Pinto <paulo.pinto@automattic.com> 
							
						 
						
							2021-07-27 17:53:33 +01:00  
				
					
						
							
							
								 
						
							
							
								3f2dadf0fe 
								
							
								 
							
						 
						
							
							
								
								When a single message is unpinned, link to it  
							
							... 
							
							
							
							Signed-off-by: Paulo Pinto <paulo.pinto@automattic.com> 
							
						 
						
							2021-07-27 17:14:50 +01:00  
				
					
						
							
							
								 
						
							
							
								8fe7df9171 
								
							
								 
							
						 
						
							
							
								
								When a single message is pinned, link to it  
							
							... 
							
							
							
							Signed-off-by: Paulo Pinto <paulo.pinto@automattic.com> 
							
						 
						
							2021-07-27 17:14:50 +01:00  
				
					
						
							
							
								 
						
							
							
								40ead34c08 
								
							
								 
							
						 
						
							
							
								
								Add test for textForPinnedEvent  
							
							... 
							
							
							
							Signed-off-by: Paulo Pinto <paulo.pinto@automattic.com> 
							
						 
						
							2021-07-27 17:14:50 +01:00