2017-08-17 22:00:37 +05:30
|
|
|
import Pipelines from '~/pipelines';
|
|
|
|
|
|
|
|
describe('Pipelines', () => {
|
2019-07-07 11:18:12 +05:30
|
|
|
preloadFixtures('static/pipeline_graph.html');
|
2017-08-17 22:00:37 +05:30
|
|
|
|
|
|
|
beforeEach(() => {
|
2019-07-07 11:18:12 +05:30
|
|
|
loadFixtures('static/pipeline_graph.html');
|
2017-08-17 22:00:37 +05:30
|
|
|
});
|
|
|
|
|
|
|
|
it('should be defined', () => {
|
|
|
|
expect(Pipelines).toBeDefined();
|
|
|
|
});
|
|
|
|
|
|
|
|
it('should create a `Pipelines` instance without options', () => {
|
2018-12-13 13:39:08 +05:30
|
|
|
expect(() => {
|
|
|
|
new Pipelines(); // eslint-disable-line no-new
|
|
|
|
}).not.toThrow();
|
2017-08-17 22:00:37 +05:30
|
|
|
});
|
|
|
|
});
|