diff options
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); }; |