2017-05-06 17:02:06 +00:00
|
|
|
import Pipelines from '~/pipelines';
|
2016-12-09 15:13:20 +00:00
|
|
|
|
2017-05-06 17:02:06 +00:00
|
|
|
describe('Pipelines', () => {
|
2019-03-26 16:03:28 +00:00
|
|
|
preloadFixtures('static/pipeline_graph.html');
|
2016-12-09 15:13:20 +00:00
|
|
|
|
2017-05-06 17:02:06 +00:00
|
|
|
beforeEach(() => {
|
2019-03-26 16:03:28 +00:00
|
|
|
loadFixtures('static/pipeline_graph.html');
|
2017-05-06 17:02:06 +00:00
|
|
|
});
|
2016-12-09 15:13:20 +00:00
|
|
|
|
2017-05-06 17:02:06 +00:00
|
|
|
it('should be defined', () => {
|
|
|
|
expect(Pipelines).toBeDefined();
|
|
|
|
});
|
2016-12-09 15:13:20 +00:00
|
|
|
|
2017-05-06 17:02:06 +00:00
|
|
|
it('should create a `Pipelines` instance without options', () => {
|
2018-10-17 07:13:26 +00:00
|
|
|
expect(() => {
|
2018-10-17 07:21:28 +00:00
|
|
|
new Pipelines(); // eslint-disable-line no-new
|
|
|
|
}).not.toThrow();
|
2016-12-09 15:13:20 +00:00
|
|
|
});
|
2017-05-06 17:02:06 +00:00
|
|
|
});
|