Update testcontainers to v11

This commit is contained in:
Michael Telatynski 2025-05-28 16:41:43 +01:00
parent 6d58d9090f
commit b9f200d349
2 changed files with 4 additions and 4 deletions

View File

@ -1,7 +1,7 @@
{
"name": "@element-hq/element-web-playwright-common",
"type": "module",
"version": "1.1.7",
"version": "1.2.0",
"license": "SEE LICENSE IN README.md",
"repository": {
"type": "git",
@ -28,11 +28,11 @@
},
"dependencies": {
"@axe-core/playwright": "^4.10.1",
"@testcontainers/postgresql": "^10.24.2",
"@testcontainers/postgresql": "^11.0.0",
"lodash-es": "^4.17.21",
"mailpit-api": "^1.2.0",
"strip-ansi": "^7.1.0",
"testcontainers": "^10.24.2",
"testcontainers": "^11.0.0",
"yaml": "^2.7.0"
},
"peerDependencies": {

View File

@ -99,7 +99,7 @@ export const test = base.extend<TestFixtures, WorkerOptions & Services>({
],
postgres: [
async ({ logger, network }, use) => {
const container = await new PostgreSqlContainer()
const container = await new PostgreSqlContainer("postgres:13.3-alpine")
.withNetwork(network)
.withNetworkAliases("postgres")
.withLogConsumer(logger.getConsumer("postgres"))