mirror of
https://github.com/zadam/trilium.git
synced 2025-11-07 13:56:11 +01:00
integration-test: Disable WAL for cleaner commits
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user