diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-05-11 18:09:37 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-05-11 18:09:37 +0300 |
commit | 6217d19741a8ea4351813b13c6fb39cc6a746602 (patch) | |
tree | 148b37b12e23835691de2a6dad4a425e678bc33d /spec/frontend/pipelines_spec.js | |
parent | e3190840bc2e05ed04a49869978a54b7b518edf1 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/frontend/pipelines_spec.js')
-rw-r--r-- | spec/frontend/pipelines_spec.js | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/spec/frontend/pipelines_spec.js b/spec/frontend/pipelines_spec.js new file mode 100644 index 00000000000..6d4d634c575 --- /dev/null +++ b/spec/frontend/pipelines_spec.js @@ -0,0 +1,19 @@ +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(); + }); +}); |