Iterate
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "@element-hq/element-web-playwright-common",
|
"name": "@element-hq/element-web-playwright-common",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"version": "1.0.0",
|
"version": "1.1.0",
|
||||||
"license": "SEE LICENSE IN README.md",
|
"license": "SEE LICENSE IN README.md",
|
||||||
"main": "lib/index.js",
|
"main": "lib/index.js",
|
||||||
"bin": {
|
"bin": {
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
Copyright 2024 New Vector Ltd.
|
Copyright 2024-2025 New Vector Ltd.
|
||||||
|
|
||||||
SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
|
SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
|
||||||
Please see LICENSE files in the repository root for full details.
|
Please see LICENSE files in the repository root for full details.
|
||||||
@@ -25,8 +25,6 @@ import { type StartedMatrixAuthenticationServiceContainer } from "./mas.js";
|
|||||||
import { Api, ClientServerApi, type Verb, type Credentials } from "../utils/api.js";
|
import { Api, ClientServerApi, type Verb, type Credentials } from "../utils/api.js";
|
||||||
import { StartedMailpitContainer } from "./mailpit.js";
|
import { StartedMailpitContainer } from "./mailpit.js";
|
||||||
|
|
||||||
const TAG = "develop@sha256:8d0049e8e0524ad6817cf7737453fe47de1ed3b8d04704f0c2fd6c136414c9d7";
|
|
||||||
|
|
||||||
const DEFAULT_CONFIG = {
|
const DEFAULT_CONFIG = {
|
||||||
server_name: "localhost",
|
server_name: "localhost",
|
||||||
public_baseurl: "", // set by start method
|
public_baseurl: "", // set by start method
|
||||||
@@ -193,8 +191,8 @@ export class SynapseContainer extends GenericContainer implements HomeserverCont
|
|||||||
private config: SynapseConfig;
|
private config: SynapseConfig;
|
||||||
private mas?: StartedMatrixAuthenticationServiceContainer;
|
private mas?: StartedMatrixAuthenticationServiceContainer;
|
||||||
|
|
||||||
public constructor() {
|
public constructor(image = "ghcr.io/element-hq/synapse:develop") {
|
||||||
super(`ghcr.io/element-hq/synapse:${TAG}`);
|
super(image);
|
||||||
|
|
||||||
this.config = deepCopy(DEFAULT_CONFIG);
|
this.config = deepCopy(DEFAULT_CONFIG);
|
||||||
this.config.registration_shared_secret = randB64Bytes(16);
|
this.config.registration_shared_secret = randB64Bytes(16);
|
||||||
|
|||||||
Reference in New Issue
Block a user