Add unit tests for data file rotation utility functions
- Implement tests for writing data files with rotation, ensuring backups are created only on changes. - Verify that old backups are rotated correctly and the maximum number of backups is maintained. - Test restoration of backups while preserving the current state as a backup. - Utilize Vitest for testing framework and manage temporary file storage during tests.
This commit is contained in:
BIN
temp/device-43477-app-after-start.png
Normal file
BIN
temp/device-43477-app-after-start.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 341 KiB |
BIN
temp/device-43477-mannschaften-home.png
Normal file
BIN
temp/device-43477-mannschaften-home.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 159 KiB |
Reference in New Issue
Block a user