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', () => {
|
|
|
|
beforeEach(() => {
|
2019-03-26 12:03:28 -04:00
|
|
|
loadFixtures('static/pipeline_graph.html');
|
2017-05-06 13:02:06 -04:00
|
|
|
});
|
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
|
|
|
});
|