Welcome to mirror list, hosted at ThFree Co, Russian Federation.

setup_globals.js « setup « test_helpers « frontend_integration « spec - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: b63a9a96372fcab08dd80125c0e828a7a8846069 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
import { setTestTimeout } from 'helpers/timeout';

beforeEach(() => {
  window.gon = {
    api_version: 'v4',
    relative_url_root: '',
  };

  setTestTimeout(7000);
  jest.useRealTimers();
});

afterEach(() => {
  jest.useFakeTimers();
});