test(realtime): run the websocket connection suite on the real database module

Seeds through the ORM factories, resets through resetDatabase and mints
ws-tokens through the container's TokenService instead of one built by hand
over the SQLite snapshot mock, so it runs in the Postgres lane as well.
This commit is contained in:
Maurice
2026-11-17 15:40:08 +01:00
parent 9631a59c2b
commit 53ab10afdc
4 changed files with 59 additions and 80 deletions
-1
View File
@@ -270,7 +270,6 @@
"tests/unit/plugins/trip-card-contributions.controller.test.ts": 1,
"tests/unit/plugins/trip-warnings.controller.test.ts": 1,
"tests/unit/plugins/view-contributions.controller.test.ts": 1,
"tests/websocket/connection.test.ts": 1,
"tests/websocket/wire-envelope.test.ts": 1
}
}
@@ -197,7 +197,6 @@
"tests/unit/plugins/settings-isolation.test.ts": 3,
"tests/unit/plugins/trip-card-contributions.controller.test.ts": 1,
"tests/unit/plugins/trip-warnings.controller.test.ts": 1,
"tests/unit/plugins/view-contributions.controller.test.ts": 1,
"tests/websocket/connection.test.ts": 1
"tests/unit/plugins/view-contributions.controller.test.ts": 1
}
}