feat: add tests for finding the api url
This commit is contained in:
parent
26213d5e8c
commit
e59fa41600
1 changed files with 8 additions and 0 deletions
8
src/helpers/checkAndSetApiUrl.test.ts
Normal file
8
src/helpers/checkAndSetApiUrl.test.ts
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
describe('Find the correct api url', () => {
|
||||||
|
// TODO: To check:
|
||||||
|
// /api/v1
|
||||||
|
// / (should append api suffix)
|
||||||
|
// :3456/api/v1
|
||||||
|
// :3456/ (should append api suffix)
|
||||||
|
// + Everything with http and https -> start with the current protocol, then try the other one
|
||||||
|
})
|
Loading…
Reference in a new issue