Skip to content

Build your personal knowledge base with Trilium Notes

chore(test): ignore SQLite WAL sidecar files in core test fixtures

Elian Doran9e1f9e0c0392
diff --git a/packages/trilium-core/src/test/fixtures/.gitignore b/packages/trilium-core/src/test/fixtures/.gitignore
new file mode 100644
index 0000000000..91881bf523
--- /dev/null
+++ b/packages/trilium-core/src/test/fixtures/.gitignore
@@ -0,0 +1,5 @@
+# SQLite sidecar files created when a fixture database is opened (e.g. by tests or the
+# db-compare tool). They are transient and regenerated on demand, so never commit them.
+*.db-shm
+*.db-wal
+*.db-journal