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

pipelines_spec.js « javascripts « spec - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: c08a73851bedd83e96ffa06af425c17bfd762671 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
import Pipelines from '~/pipelines';

describe('Pipelines', () => {
  preloadFixtures('static/pipeline_graph.html.raw');

  beforeEach(() => {
    loadFixtures('static/pipeline_graph.html.raw');
  });

  it('should be defined', () => {
    expect(Pipelines).toBeDefined();
  });

  it('should create a `Pipelines` instance without options', () => {
    expect(() => { new Pipelines(); }).not.toThrow(); //eslint-disable-line
  });
});