diff --git a/test/integration/manualLaunchScript.ts b/test/integration/manualLaunchScript.ts index f94a373d..2f412a9e 100644 --- a/test/integration/manualLaunchScript.ts +++ b/test/integration/manualLaunchScript.ts @@ -15,14 +15,13 @@ import { draupnirClient, makeBotModeToggle } from "./mjolnirSetupUtils"; import { configRead } from "../../src/config"; import { SqliteRoomStateBackingStore } from "../../src/backingstore/better-sqlite3/SqliteRoomStateBackingStore"; -import path from "path"; import { DefaultEventDecoder } from "matrix-protection-suite"; void (async () => { const config = configRead(); const toggle = await makeBotModeToggle(config, { - backingStore: new SqliteRoomStateBackingStore( - path.join(config.dataPath, "room-state-backing-store.db"), + backingStore: SqliteRoomStateBackingStore.create( + config.dataPath, DefaultEventDecoder ), allowSafeMode: true,