mirror of
				https://codeberg.org/yeentown/barkey.git
				synced 2025-11-04 15:34:13 +00:00 
			
		
		
		
	fix flaky test
This commit is contained in:
		
							parent
							
								
									3dd84f7824
								
							
						
					
					
						commit
						cc4fd6b5c5
					
				
					 1 changed files with 1 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -729,6 +729,7 @@ describe('Timelines', () => {
 | 
			
		|||
			const [alice, bob] = await Promise.all([signup(), signup()]);
 | 
			
		||||
 | 
			
		||||
			await api('/following/create', { userId: bob.id }, alice);
 | 
			
		||||
			await sleep(1000);
 | 
			
		||||
			const bobNote = await post(bob, { text: 'hi', visibility: 'followers' });
 | 
			
		||||
 | 
			
		||||
			await sleep(100); // redisに追加されるのを待つ
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue