BigW Consortium Gitlab

pipelines_spec.js 435 Bytes
Newer Older
1
import Pipelines from '~/pipelines';
2

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

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

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

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