dx: run test-server on different port, so you don't have to stop dev-server first

Massimo Melina committed Dec 13, 2023 at 11:56 UTC 74d48c990a1f9e08b8f86fcdafd76b90429de096
2 files changed +3 -1
tests/config.yaml
+2
@@ -1,3 +1,5 @@
1 +port: 81
2 +open_browser_at_start: false
3 allowed_referer: x.com
4 vfs:
5 masks:
tests/test.ts
+1 -1
@@ -15,7 +15,7 @@ const appStarted = new Promise(resolve =>
15 const username = 'rejetto'
16 const password = 'password'
17 const API = '/~/api/'
18 -const BASE_URL = 'http://localhost'
18 +const BASE_URL = 'http://localhost:81'
19 const UPLOAD_ROOT = '/for-admins/upload'
20 const UPLOAD_DEST = UPLOAD_ROOT + '/temp/gpl.png'
21