Update libsignal to v0.59.0, add support for mock server test with libsignal
Co-authored-by: trevor-signal <trevor@signal.org> Co-authored-by: Fedor Indutny <indutny@signal.org>
This commit is contained in:
parent
4d3c6beed9
commit
9c99796937
8 changed files with 371 additions and 23 deletions
9
ts/util/getMockServerPort.ts
Normal file
9
ts/util/getMockServerPort.ts
Normal file
|
@ -0,0 +1,9 @@
|
|||
// Copyright 2024 Signal Messenger, LLC
|
||||
// SPDX-License-Identifier: AGPL-3.0-only
|
||||
|
||||
export function getMockServerPort(
|
||||
serverUrl = window.SignalContext.config.serverUrl
|
||||
): string {
|
||||
const url = new URL(serverUrl);
|
||||
return url.port;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue