You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Clean up old official extensions registry code (#8998)
* feat: Add unit tests for src/extensions/resolveSource.ts
This commit adds unit tests for the `getExtensionRegistry` function in `src/extensions/resolveSource.ts`.
The tests cover the following cases:
- Fetching the full extension registry.
- Fetching only the featured extensions.
- Handling cases where the `mods` or `featured` properties are missing from the API response.
The tests use `nock` to mock the API responses and `chai` for assertions.
Note: The `npm run format` and `npm run test` commands are currently failing due to an ESLint configuration issue in the repository. The tests were run directly using `npm run mocha` to bypass the linter.
* lint
* THis code is unused, kill it
---------
Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>
0 commit comments