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
f28e938a4d
test: update before and after scripts to not include old database folder
2019-12-11 14:22:22 +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
b2120d9ef3
refactor: move mock file (containing mock interface) into a new types folder inside tests
2019-11-27 16:41:21 +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
69f06b2e0c
fix: fix typescript errors (coming from update)
2019-11-20 23:21:35 +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
1b2157f031
test: use before and after instead of beforeEach and afterEach in main.spec.ts (also move @slow tag to suite)
2019-11-20 23:21:34 +01:00
Xymorot
3b306e5895
test: add test suite for uuid service
2019-11-20 23:21:32 +01:00
Xymorot
93c0570bc4
test: increase timeout for application test
2019-11-20 23:21:31 +01:00
Xymorot
1e3391a993
test: implement tests for renderer util service
2019-11-20 23:21:31 +01:00
Xymorot
5acc27c6d9
config: disable typedef tslint rule in tests
2019-11-20 23:21:30 +01:00
Xymorot
f28cd79e26
test: move main.spec on folder up
2019-11-20 23:21:29 +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
Xymorot
fa976cac9a
test: add simple unit test with sinon and nock, also refactor 'test' directory to 'tests', split tests into integration and unit
2019-11-20 23:21:27 +01:00