summaryrefslogtreecommitdiff
path: root/spec/frontend/pipelines_spec.js
blob: add91fbcc237fa07b5f96767283d65820c6348ad (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
import Pipelines from '~/pipelines';

describe('Pipelines', () => {
  beforeEach(() => {
    loadFixtures('static/pipeline_graph.html');
  });

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

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