mirror of
https://github.com/dzeiocom/libs.git
synced 2025-06-24 08:19:21 +00:00
Fixed Path not correctly compiling with only a protocol
Signed-off-by: Florian Bouillon <florian.bouillon@delta-wings.net>
This commit is contained in:
@ -21,10 +21,6 @@ describe('Basic tests', () => {
|
||||
expect(url.toString())
|
||||
.toBe('git+ssh://username:password@domain.com:65565/path?test=true#hash')
|
||||
})
|
||||
it('should parse and give back the same url', () => {
|
||||
const url = 'git+ssh://username:password@domain.com:65565/path?test=true&test=false#hash'
|
||||
expect(new URLManager(url).toString()).toBe(url)
|
||||
})
|
||||
|
||||
it('should be able to add and delete query', () => {
|
||||
const url = new URLManager()
|
||||
|
Reference in New Issue
Block a user