diff options
author | Robert Speicher <rspeicher@gmail.com> | 2021-01-20 22:34:23 +0300 |
---|---|---|
committer | Robert Speicher <rspeicher@gmail.com> | 2021-01-20 22:34:23 +0300 |
commit | 6438df3a1e0fb944485cebf07976160184697d72 (patch) | |
tree | 00b09bfd170e77ae9391b1a2f5a93ef6839f2597 /spec/frontend/environment.js | |
parent | 42bcd54d971da7ef2854b896a7b34f4ef8601067 (diff) |
Add latest changes from gitlab-org/gitlab@13-8-stable-eev13.8.0-rc42
Diffstat (limited to 'spec/frontend/environment.js')
-rw-r--r-- | spec/frontend/environment.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/frontend/environment.js b/spec/frontend/environment.js index 733bf4378eb..c055702d832 100644 --- a/spec/frontend/environment.js +++ b/spec/frontend/environment.js @@ -3,7 +3,7 @@ const path = require('path'); const { ErrorWithStack } = require('jest-util'); const JSDOMEnvironment = require('jest-environment-jsdom'); -const { TEST_HOST } = require('./helpers/test_constants'); +const { TEST_HOST } = require('./__helpers__/test_constants'); const ROOT_PATH = path.resolve(__dirname, '../..'); @@ -37,7 +37,7 @@ class CustomEnvironment extends JSDOMEnvironment { this.rejectedPromises = []; - this.global.promiseRejectionHandler = error => { + this.global.promiseRejectionHandler = (error) => { this.rejectedPromises.push(error); }; |