test: cover isolated SQLite invariants and durability

This commit is contained in:
2026-09-13 12:33:17 +03:00
parent 346a6f0057
commit 7fde3ece6e
7 changed files with 166 additions and 3 deletions
+2
View File
@@ -25,6 +25,8 @@
"test:cov": "jest --coverage",
"test:debug": "node --inspect-brk -r tsconfig-paths/register -r ts-node/register node_modules/.bin/jest --runInBand",
"test:e2e": "DATABASE_URL=file:/tmp/wealth-ledger-e2e.db prisma migrate deploy && NODE_ENV=development NODE_OPTIONS=--experimental-vm-modules jest --config ./test/jest-e2e.json",
"test:sqlite": "node test/sqlite.cjs",
"test:durability": "node test/bank-cards-durability.cjs",
"test:openapi-contract": "NODE_OPTIONS=--experimental-vm-modules jest --config ./test/jest-e2e.json --runInBand openapi-contract.e2e-spec.ts",
"verify": "npm run lint && npm run typecheck:app && npm run typecheck:test && npm test -- --runInBand && npm run build"
},