Commit 67270875 authored by Martin Wortschack's avatar Martin Wortschack

Merge branch 'fe-move-seturlparams-describe' into 'master'

Move setUrlParams describe under top describe

See merge request gitlab-org/gitlab!21904
parents 90de22f7 83fc82f8
...@@ -330,9 +330,8 @@ describe('URL utility', () => { ...@@ -330,9 +330,8 @@ describe('URL utility', () => {
expect(urlUtils.escapeFileUrl('foo/bar/file.md')).toBe('foo/bar/file.md'); expect(urlUtils.escapeFileUrl('foo/bar/file.md')).toBe('foo/bar/file.md');
}); });
}); });
});
describe('setUrlParams', () => { describe('setUrlParams', () => {
it('adds new params as query string', () => { it('adds new params as query string', () => {
const url = 'https://gitlab.com/test'; const url = 'https://gitlab.com/test';
...@@ -372,4 +371,5 @@ describe('setUrlParams', () => { ...@@ -372,4 +371,5 @@ describe('setUrlParams', () => {
'https://gitlab.com/test?foo=bar', 'https://gitlab.com/test?foo=bar',
); );
}); });
});
}); });
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment