mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-10-30 18:15:52 +01:00
13 lines
360 B
JavaScript
13 lines
360 B
JavaScript
|
|
import "raf/polyfill";
|
||
|
|
import { configure } 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;
|
||
|
|
};
|
||
|
|
|
||
|
|
configure({ adapter: new Adapter() });
|