refactor: simplify apk filename parsing logic

- Simplify parseApkFilename to use version delimiter split
- Update tests to match new data structure with rawEnvironment
- Remove unnecessary test cases and assertions

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-05 20:27:54 +08:00
parent 8d7d2f37d7
commit d1ad58b504
4 changed files with 46 additions and 57 deletions

View File

@@ -49,7 +49,6 @@ describe('getProjects', () => {
const result = await getProjects();
expect(mockedFs.readdir).toHaveBeenCalledWith('./resources');
expect(result).toEqual(['project1', 'project2']);
});