diff options
author | Mike Greiling <mike@pixelcog.com> | 2019-07-17 17:47:33 -0500 |
---|---|---|
committer | Mike Greiling <mike@pixelcog.com> | 2019-07-19 02:27:14 -0500 |
commit | 89142f985deaff5cd60db0a95f05b646641f6f04 (patch) | |
tree | 1f8d726e2af1201091dabc3fe4da47140b13ba18 /spec/frontend/environment.js | |
parent | faa17d526371a34325705b8de9594e4e9df03298 (diff) | |
download | gitlab-ce-89142f985deaff5cd60db0a95f05b646641f6f04.tar.gz |
Move frontend fixtures to tmp/tests
Diffstat (limited to 'spec/frontend/environment.js')
-rw-r--r-- | spec/frontend/environment.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/spec/frontend/environment.js b/spec/frontend/environment.js index 8fd39201d39..3486d7769c1 100644 --- a/spec/frontend/environment.js +++ b/spec/frontend/environment.js @@ -38,7 +38,8 @@ class CustomEnvironment extends JSDOMEnvironment { this.rejectedPromises.push(error); }; - this.global.fixturesBasePath = `${ROOT_PATH}/${IS_EE ? 'ee/' : ''}spec/javascripts/fixtures`; + this.global.fixturesBasePath = `${ROOT_PATH}/tmp/tests/frontend/fixtures${IS_EE ? '-ee' : ''}`; + this.global.staticFixturesBasePath = `${ROOT_PATH}/spec/javascripts/fixtures`; // Not yet supported by JSDOM: https://github.com/jsdom/jsdom/issues/317 this.global.document.createRange = () => ({ |