- Env key to be more generic
- Cache directory to .cache
- Multiply bank amount by 100 to get correct conversion rate

Removed:
- Unused functions in Actual.ts

Added:
- Test for main functionality
- BankStub for testing
- Added imported_id to Actual Transaction to avoid duplicates
This commit is contained in:
2024-12-01 20:48:42 +01:00
parent cc325b9f08
commit 9ed0a19393
9 changed files with 88 additions and 50 deletions

View File

@ -5,7 +5,7 @@
"main": "index.js",
"scripts": {
"start": "node --import=tsx ./src/main.ts | pino-pretty",
"test": "echo \"Error: no test specified\" && exit 1",
"test": "node --test --experimental-strip-types ./tests/**",
"format": "prettier --write \"./**/*.{js,mjs,ts,md,json}\""
},
"keywords": [],