mirror of
				https://github.com/lingble/chatwoot.git
				synced 2025-10-30 18:47:51 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			14 lines
		
	
	
		
			500 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
			
		
		
	
	
			14 lines
		
	
	
		
			500 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
| import notifications from '../notifications';
 | |
| import ApiClient from '../ApiClient';
 | |
| 
 | |
| describe('#NotificationAPI', () => {
 | |
|   it('creates correct instance', () => {
 | |
|     expect(notifications).toBeInstanceOf(ApiClient);
 | |
|     expect(notifications).toHaveProperty('get');
 | |
|     expect(notifications).toHaveProperty('getNotifications');
 | |
|     expect(notifications).toHaveProperty('getUnreadCount');
 | |
|     expect(notifications).toHaveProperty('read');
 | |
|     expect(notifications).toHaveProperty('readAll');
 | |
|   });
 | |
| });
 | 
