Commit Graph

8 Commits (0ccf91721d71060808c0a21c67b8ce885cae51a1)

Author SHA1 Message Date
Panagiotis Papadopoulos 0ccf91721d test(services/data_dir): simplify getPlatformAppDataDir
use the new available mocks to make tests a tiny bit more simpler :-)
2025-01-18 19:17:00 +07:00
Panagiotis Papadopoulos cbc10e1f15 chore(prettier): fix data_dir.spec.ts 2025-01-18 13:21:45 +07:00
Panagiotis Papadopoulos dba0ef4945 test(services/data_dir): make test descriptions a bit more readable 2025-01-18 13:21:45 +07:00
Panagiotis Papadopoulos 31fb8eb3d3 test(services/data_dir): add getTriliumDataDir tests
since we *need* mocks to tests getTriliumDataDir, I had to change a bit the setup structure of the tests as well -> functions needs to be
imported dynamically *after* the mocks are registered
2025-01-18 13:21:45 +07:00
Panagiotis Papadopoulos fb47ecd747 test(data_dir): fix failing test due to vitest being "stricter" than jasmine 2025-01-17 20:24:20 +07:00
Panagiotis Papadopoulos 853a7abc4f test: port data_dir.spec.ts to vitest 2025-01-17 20:24:20 +07:00
Panagiotis Papadopoulos e021c0cd0e test(data_dir): add tests for getDataDirs 2025-01-13 08:26:07 +07:00
Panagiotis Papadopoulos 63079c0939 test(data_dir): add tests for getPlatformAppDataDir 2025-01-13 08:26:07 +07:00