gitlab-org--gitlab-foss/spec/javascripts/pipelines_spec.js

20 lines
453 B
JavaScript
Raw Normal View History

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', () => {
2018-10-17 03:13:26 -04:00
expect(() => {
2018-10-17 03:21:28 -04:00
new Pipelines(); // eslint-disable-line no-new
}).not.toThrow();
});
});