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

index_spec.js « components « dashboard « issues « frontend « spec - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 51cb5c0acf6abb5b59b07ddaefcc8ae29a226512 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
import { setHTMLFixture, resetHTMLFixture } from 'helpers/fixtures';
import { mountIssuesDashboardApp } from '~/issues/dashboard';

describe('IssueDashboardRoot', () => {
  beforeEach(() => {
    setHTMLFixture(
      '<div class="js-issues-dashboard" data-has-issue-date-filter-feature="true"></div>',
    );
  });

  afterEach(() => {
    resetHTMLFixture();
  });

  it('mounts without errors and vue warnings', async () => {
    await expect(mountIssuesDashboardApp()).resolves.toBeTruthy();
  });
});