Jasper Vaneessen
|
fe39f97ee0
|
refactor: Use fs-extra instead of fs to simplify file access
* refactor: use fs-extra instead of fs
* tests: manual mocks for fs-extra base + ensureDir
* refactor: mockFileSystem + mockFs and mockFsExtra
* add remove mock and some further test tweaks
* test: FileDataAccessor tests passing
* refactor: remove try-catch due to fs-extra handlin
* refactor: fs-extra in atomicFileDataAccessor
* refactor: AtomicFileDataAccessor fs-extra
* test: fix coverage
* refactor: use read/writeJson from fs-extra
* refactor: less duplicate mocking code
* refactor: re-use opendir mocking code
|
2022-04-12 11:02:30 +02:00 |
|