mirror of
https://codeberg.org/keyoxide/doipjs.git
synced 2024-12-22 22:49:28 -07:00
Fix test
This commit is contained in:
parent
637ce35ca7
commit
f5ea4c05bf
1 changed files with 2 additions and 2 deletions
|
@ -56,9 +56,9 @@ describe('utils.generateProxyURL', () => {
|
|||
}
|
||||
expect(
|
||||
doipjs.utils.generateProxyURL('http', { domain: 'domain.org' }, opts)
|
||||
).to.equal('http://localhost/api/2/get/http?domain=domain.org')
|
||||
).to.equal('https://localhost/api/2/get/http?domain=domain.org')
|
||||
expect(
|
||||
doipjs.utils.generateProxyURL('dns', { domain: 'domain.org' }, opts)
|
||||
).to.equal('http://localhost/api/2/get/dns?domain=domain.org')
|
||||
).to.equal('https://localhost/api/2/get/dns?domain=domain.org')
|
||||
})
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue