test(db): run the notifications and advanced packing MCP suites on the real database module

They seed through the booted container's ORM instead of the SQLite snapshot
mock and reset through resetDatabase, so they run in the Postgres lane as
well. The tag notification case waits for the fire-and-forget row with
vi.waitFor instead of one turn of the event loop: on SQLite the insert
lands within that turn, on Postgres it needs a few round trips more.
This commit is contained in:
Maurice
2026-11-17 20:13:29 +01:00
parent cd1a3fd433
commit ff57883e3d
4 changed files with 135 additions and 147 deletions
@@ -1,4 +1 @@
[
"tests/unit/mcp/tools-notifications.test.ts",
"tests/unit/mcp/tools-packing-advanced.test.ts"
]
[]