diff options
Diffstat (limited to 'spec/frontend/ide/stores/actions/file_spec.js')
-rw-r--r-- | spec/frontend/ide/stores/actions/file_spec.js | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/spec/frontend/ide/stores/actions/file_spec.js b/spec/frontend/ide/stores/actions/file_spec.js index 90ca8526698..7f4e1cf761d 100644 --- a/spec/frontend/ide/stores/actions/file_spec.js +++ b/spec/frontend/ide/stores/actions/file_spec.js @@ -16,7 +16,6 @@ const RELATIVE_URL_ROOT = '/gitlab'; describe('IDE store file actions', () => { let mock; - let originalGon; let store; let router; @@ -24,9 +23,7 @@ describe('IDE store file actions', () => { stubPerformanceWebAPI(); mock = new MockAdapter(axios); - originalGon = window.gon; window.gon = { - ...window.gon, relative_url_root: RELATIVE_URL_ROOT, }; @@ -44,7 +41,6 @@ describe('IDE store file actions', () => { afterEach(() => { mock.restore(); - window.gon = originalGon; }); describe('closeFile', () => { |