From 96e6fc70b40c51af50bee6c421f7f363acd899d4 Mon Sep 17 00:00:00 2001 From: Filipa Lacerda Date: Wed, 6 Sep 2017 17:14:34 +0100 Subject: Import modules instead of using the ones in global namespace Removes set favicon related methods from global scope Improves test related with favicon Removes convertPermissionToBoolean from global scope. Adds tests for convertPermissionToBoolean - were non existant Removes setParamInURL from gl.utils Removes parseIntPagination from gl.utils namespace Remove normalizeCRLFHeaders from gl.utils namespace Removes normalizeHeaders from gl.utils namespace Use gl.utils for filtered search Fix bad import Fix broken test by cleaning window.history namespace Adds changelog --- spec/javascripts/environments/folder/environments_folder_view_spec.js | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'spec/javascripts/environments') diff --git a/spec/javascripts/environments/folder/environments_folder_view_spec.js b/spec/javascripts/environments/folder/environments_folder_view_spec.js index fdaea5c0b0c..09916629bd1 100644 --- a/spec/javascripts/environments/folder/environments_folder_view_spec.js +++ b/spec/javascripts/environments/folder/environments_folder_view_spec.js @@ -14,6 +14,10 @@ describe('Environments Folder View', () => { window.history.pushState({}, null, 'environments/folders/build'); }); + afterEach(() => { + window.history.pushState({}, null, ''); + }); + let component; describe('successfull request', () => { -- cgit v1.2.1