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

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

  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();
  });
});