Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'spec/frontend/pipelines_spec.js')
-rw-r--r--spec/frontend/pipelines_spec.js19
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();
+ });
+});