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:
authorGitLab Bot <gitlab-bot@gitlab.com>2021-07-15 03:10:03 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2021-07-15 03:10:03 +0300
commit0c6c91556b89efac59a1034f7f91fd37a7f8ea91 (patch)
treec008951816d6ce04d2d4d336b37449b4ded78169 /spec/frontend/environment.js
parentdc60045db7aab599453799c75190b93692d91b7c (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/frontend/environment.js')
-rw-r--r--spec/frontend/environment.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/spec/frontend/environment.js b/spec/frontend/environment.js
index 9cebe2d1e01..29aa416149c 100644
--- a/spec/frontend/environment.js
+++ b/spec/frontend/environment.js
@@ -43,6 +43,9 @@ class CustomEnvironment extends JSDOMEnvironment {
};
this.global.IS_EE = IS_EE;
+ // Set up global `gl` object
+ this.global.gl = {};
+
this.rejectedPromises = [];
this.global.promiseRejectionHandler = (error) => {