16 lines
242 B
JavaScript
16 lines
242 B
JavaScript
|
import { setTestTimeout } from 'helpers/timeout';
|
||
|
|
||
|
beforeEach(() => {
|
||
|
window.gon = {
|
||
|
api_version: 'v4',
|
||
|
relative_url_root: '',
|
||
|
};
|
||
|
|
||
|
setTestTimeout(5000);
|
||
|
jest.useRealTimers();
|
||
|
});
|
||
|
|
||
|
afterEach(() => {
|
||
|
jest.useFakeTimers();
|
||
|
});
|