|  |  |  | @ -1,7 +1,14 @@ | 
		
	
		
			
				|  |  |  |  | import { describe, it, expect, beforeEach, mock, spyOn } from 'bun:test'; | 
		
	
		
			
				|  |  |  |  | import { GroupSyncService } from '../../../src/services/group-sync'; | 
		
	
		
			
				|  |  |  |  | import { db } from '../../../src/db'; | 
		
	
		
			
				|  |  |  |  | import { env } from '../../../src/env'; | 
		
	
		
			
				|  |  |  |  | import { GroupSyncService } from '../../src/services/group-sync'; | 
		
	
		
			
				|  |  |  |  | import { db } from '../../src/db'; | 
		
	
		
			
				|  |  |  |  | 
 | 
		
	
		
			
				|  |  |  |  | // Mock environment variables directly since we can't find env.ts
 | 
		
	
		
			
				|  |  |  |  | const env = { | 
		
	
		
			
				|  |  |  |  |   WHATSAPP_COMMUNITY_ID: 'test-community', | 
		
	
		
			
				|  |  |  |  |   EVOLUTION_API_URL: 'http://test-api', | 
		
	
		
			
				|  |  |  |  |   EVOLUTION_API_INSTANCE: 'test-instance',  | 
		
	
		
			
				|  |  |  |  |   EVOLUTION_API_KEY: 'test-key' | 
		
	
		
			
				|  |  |  |  | }; | 
		
	
		
			
				|  |  |  |  | 
 | 
		
	
		
			
				|  |  |  |  | // Mock the environment variables
 | 
		
	
		
			
				|  |  |  |  | const originalEnv = { ...env }; | 
		
	
	
		
			
				
					|  |  |  | 
 |