debian-mirror-gitlab/spec/frontend/pipelines_spec.js
2021-04-17 20:07:23 +05:30

17 lines
395 B
JavaScript

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