gitlab-org--gitlab-foss/spec/javascripts/pipelines_spec.js
Winnie Hellmann ad985a7a28 Merge branch 'winh-remove-sushi' into 'master'
Remove .raw from JavaScript fixture file names

Closes #59201

See merge request gitlab-org/gitlab-ce!26430

(cherry picked from commit 79a45f7f02)
2019-03-26 16:03:28 +00:00

19 lines
445 B
JavaScript

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