Files
ThreadNet-Web/apps/web/playwright/testcontainers/mas.ts
T

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

26 lines
936 B
TypeScript
Raw Normal View History

/*
Copyright 2025 New Vector Ltd.
SPDX-License-Identifier: AGPL-3.0-only OR GPL-3.0-only OR LicenseRef-Element-Commercial
Please see LICENSE files in the repository root for full details.
*/
import {
MatrixAuthenticationServiceContainer as BaseMatrixAuthenticationServiceContainer,
type StartedPostgreSqlContainer,
2026-02-09 08:39:11 +00:00
} from "@element-hq/element-web-playwright-common/lib/testcontainers/index.js";
const DOCKER_IMAGE =
"ghcr.io/element-hq/matrix-authentication-service:main@sha256:baa02c35e22dec0aad82b03de3157acd33b7b727a4b5fc68a67c512f0204684e";
/**
* MatrixAuthenticationServiceContainer which freezes the docker digest to
* stabilise tests, updated periodically by the `playwright-image-updates.yaml`
* workflow.
*/
export class MatrixAuthenticationServiceContainer extends BaseMatrixAuthenticationServiceContainer {
public constructor(db: StartedPostgreSqlContainer) {
super(db, DOCKER_IMAGE);
}
}