Commit Graph

9 Commits

Author SHA1 Message Date
Xymorot a8b9ccf832 refactor: replace tslint with @typescript-eslint/eslint-plugin as tslint will be deprecated in 2020
Some code refactoring and slight rule changes are done in this commit.
2019-12-15 01:14:39 +01:00
Xymorot 5f3da78721 feat: only open development tools in development mode (add new service to determine dev mode) 2019-12-11 14:24:00 +01:00
Xymorot e02e0d97e0 feat: use userData electron path for database (subfolder with version)
This has the side effect of no more ormconfig.yml file, and the database connections are now only loaded on demand (as well as running the migrations).

BREAKING CHANGE: there is no migration for the old database
2019-12-10 23:33:48 +01:00
Xymorot b73e14f0ab test: add test setup files for backing up store and database folders before tests 2019-11-26 22:51:54 +01:00
Xymorot 550e65dedb test: implement tests for 100% coverage of store service 2019-11-20 23:21:36 +01:00
Xymorot fce8e95a0e feat: install and use fs-extra instead of fs, implement groundwork for more sophisticated error reporting
also add tests and mocking framework
2019-11-20 23:21:34 +01:00
Xymorot 5acc27c6d9 config: disable typedef tslint rule in tests 2019-11-20 23:21:30 +01:00
Xymorot d2c40cee18 config: add specific tslint file for tests, adjust eslint/tslint to fail on broken rule (error severity) 2019-11-20 23:21:28 +01:00
Xymorot 33c2f9de6f test: remove split between integration and unit tests, use tags instead 2019-11-20 23:21:27 +01:00