Skip to content
This repository was archived by the owner on Jun 24, 2025. It is now read-only.

Commit c2e7ccd

Browse files
committed
integration-test: Start implementing dedicated DB
1 parent d0042b5 commit c2e7ccd

File tree

5 files changed

+9
-1
lines changed

5 files changed

+9
-1
lines changed

.gitignore

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,14 @@ build/
55
src/public/app-dist/
66
npm-debug.log
77
yarn-error.log
8+
89
*.db
10+
!integration-tests/db/document.db
11+
integration-tests/db/log
12+
integration-tests/db/sessions
13+
integration-tests/db/backup
14+
integration-tests/db/session_secret.txt
15+
916
config.ini
1017
cert.key
1118
cert.crt

integration-tests/db/document.db

1.86 MB
Binary file not shown.

integration-tests/db/document.db-shm

32 KB
Binary file not shown.

integration-tests/db/document.db-wal

1.96 MB
Binary file not shown.

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,8 @@
4444
"package-electron": "electron-forge package",
4545
"prepare-dist": "rimraf ./dist && tsc && tsx ./bin/copy-dist.ts",
4646
"update-build-info": "tsx bin/update-build-info.ts",
47-
"errors": "tsc --watch --noEmit"
47+
"errors": "tsc --watch --noEmit",
48+
"integration-edit-db": "cross-env TRILIUM_PORT=8081 TRILIUM_DATA_DIR=./integration-tests/db nodemon src/www.ts"
4849
},
4950
"dependencies": {
5051
"@braintree/sanitize-url": "^7.1.0",

0 commit comments

Comments
 (0)