integration-test: Disable WAL for cleaner commits

This commit is contained in:
Elian Doran
2024-08-09 21:32:12 +03:00
parent c2e7ccddb4
commit 5aa0040a83
5 changed files with 4 additions and 2 deletions

View File

@@ -15,7 +15,9 @@ import becca_loader from "../becca/becca_loader.js";
import entity_changes from "./entity_changes.js";
const dbConnection: DatabaseType = new Database(dataDir.DOCUMENT_PATH);
dbConnection.pragma('journal_mode = WAL');
if (!process.env.TRILIUM_INTEGRATION_TEST) {
dbConnection.pragma('journal_mode = WAL');
}
const LOG_ALL_QUERIES = false;