mirror of
				https://github.com/scm-manager/scm-manager.git
				synced 2025-11-03 20:15:52 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			13 lines
		
	
	
		
			360 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
			
		
		
	
	
			13 lines
		
	
	
		
			360 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
import "raf/polyfill";
 | 
						|
import Enzyme from "enzyme";
 | 
						|
import Adapter from "enzyme-adapter-react-16";
 | 
						|
 | 
						|
// Temporary hack to suppress error
 | 
						|
// https://github.com/facebook/create-react-app/issues/3199#issuecomment-345024029
 | 
						|
window.requestAnimationFrame = function(callback) {
 | 
						|
  setTimeout(callback, 0);
 | 
						|
  return 0;
 | 
						|
};
 | 
						|
 | 
						|
Enzyme.configure({ adapter: new Adapter() });
 |