mirror of
				https://github.com/strapi/strapi.git
				synced 2025-10-31 09:56:44 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			16 lines
		
	
	
		
			334 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
			
		
		
	
	
			16 lines
		
	
	
		
			334 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
| 'use strict';
 | |
| 
 | |
| class IntersectionObserverMock {
 | |
|   constructor() {
 | |
|     this.root = null;
 | |
|     this.rootMargin = '';
 | |
|     this.thresholds = [];
 | |
|     this.disconnect = () => null;
 | |
|     this.observe = () => null;
 | |
|     this.takeRecords = () => [];
 | |
|     this.unobserve = () => null;
 | |
|   }
 | |
| }
 | |
| 
 | |
| global.IntersectionObserver = IntersectionObserverMock;
 | 
