remove teaspoon-specific test
This commit is contained in:
parent
d2649bf8e3
commit
bdcb81be95
1 changed files with 3 additions and 3 deletions
|
@ -10,9 +10,9 @@ require('~/lib/utils/common_utils');
|
|||
// IE11 will return a relative pathname while other browsers will return a full pathname.
|
||||
// parseUrl uses an anchor element for parsing an url. With relative urls, the anchor
|
||||
// element will create an absolute url relative to the current execution context.
|
||||
// The JavaScript test suite is executed at '/teaspoon' which will lead to an absolute
|
||||
// url starting with '/teaspoon'.
|
||||
expect(gl.utils.parseUrl('" test="asf"').pathname).toEqual('/teaspoon/%22%20test=%22asf%22');
|
||||
// The JavaScript test suite is executed at '/' which will lead to an absolute url
|
||||
// starting with '/'.
|
||||
expect(gl.utils.parseUrl('" test="asf"').pathname).toEqual('/%22%20test=%22asf%22');
|
||||
});
|
||||
});
|
||||
describe('gl.utils.parseUrlPathname', () => {
|
||||
|
|
Loading…
Reference in a new issue