test: fix e2e testing setup
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
export const DefaultServerPort = 3123
|
||||
|
||||
export function getDefaultHost() {
|
||||
return 'http://localhost:3123'
|
||||
return `http://localhost:${DefaultServerPort}`
|
||||
}
|
||||
|
||||
export function getDefaultMockedEventServiceUrl() {
|
||||
|
||||
@@ -17,8 +17,6 @@
|
||||
const syncServerHostName = urlParams.get('sync_server_host_name') ?? 'syncing-server-proxy';
|
||||
const bail = urlParams.get('bail') === 'false' ? false : true;
|
||||
|
||||
window._default_sync_server = `http://${syncServerHostName}:3123`;
|
||||
|
||||
Object.assign(window, SNCrypto);
|
||||
|
||||
Object.assign(window, SNLibrary);
|
||||
@@ -102,4 +100,4 @@
|
||||
<div id="mocha"></div>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
</html>
|
||||
Reference in New Issue
Block a user