mirror of
https://github.com/AutoMaker-Org/automaker.git
synced 2026-01-30 14:22:02 +00:00
This commit modifies the unit tests in dev-server-service.test.ts to replace the usage of the native fs.existsSync method with secureFs.access for improved security and consistency in file handling. Key changes include: - Updated all instances of existsSync to utilize secureFs.access, ensuring that file existence checks are performed using the secure file system operations. - Adjusted mock implementations to reflect the new secureFs methods, enhancing the reliability of the tests. These changes aim to align the testing strategy with the recent refactor for enhanced security in file operations.