mirror of
https://github.com/unraid/api.git
synced 2026-01-04 23:50:37 -06:00
- Introduced new test cases in `activationCodeData.test.ts` to verify that `isFreshInstall` is computed as true for registration states `ENOKEYFILE1` and `ENOKEYFILE2`. - Updated the logic in `activationCodeData.ts` to ensure `isFreshInstall` correctly checks for registration states starting with 'ENOKEYFILE', enhancing the accuracy of the state management. These changes improve test coverage and ensure the correct behavior of the activation code data store in various onboarding scenarios.