debian-mirror-gitlab/spec/javascripts/pipelines_spec.js
2018-12-13 13:39:08 +05:30

19 lines
453 B
JavaScript

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(); // eslint-disable-line no-new
}).not.toThrow();
});
});