2017-05-06 13:02:06 -04:00
|
|
|
import Pipelines from '~/pipelines';
|
2016-12-09 10:13:20 -05:00
|
|
|
|
2017-05-06 13:02:06 -04:00
|
|
|
describe('Pipelines', () => {
|
|
|
|
preloadFixtures('static/pipeline_graph.html.raw');
|
2016-12-09 10:13:20 -05:00
|
|
|
|
2017-05-06 13:02:06 -04:00
|
|
|
beforeEach(() => {
|
|
|
|
loadFixtures('static/pipeline_graph.html.raw');
|
|
|
|
});
|
2016-12-09 10:13:20 -05:00
|
|
|
|
2017-05-06 13:02:06 -04:00
|
|
|
it('should be defined', () => {
|
|
|
|
expect(Pipelines).toBeDefined();
|
|
|
|
});
|
2016-12-09 10:13:20 -05:00
|
|
|
|
2017-05-06 13:02:06 -04:00
|
|
|
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();
|
2016-12-09 10:13:20 -05:00
|
|
|
});
|
2017-05-06 13:02:06 -04:00
|
|
|
});
|