5 Commits

Author SHA1 Message Date
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 +01:00
Panagiotis Papadopoulos
fb47ecd747 test(data_dir): fix failing test due to vitest being "stricter" than jasmine 2025-01-17 20:24:20 +01:00
Panagiotis Papadopoulos
853a7abc4f test: port data_dir.spec.ts to vitest 2025-01-17 20:24:20 +01:00
Panagiotis Papadopoulos
e021c0cd0e test(data_dir): add tests for getDataDirs 2025-01-13 08:26:07 +01:00
Panagiotis Papadopoulos
63079c0939 test(data_dir): add tests for getPlatformAppDataDir 2025-01-13 08:26:07 +01:00