cherry-studio/src/main/utils
one 665a62080b
test: more unit tests (#5130)
* test: more unit tests

- Adjust vitest configuration to handle main process and renderer process tests separately
- Add unit tests for main process utils
- Add unit tests for the renderer process
- Add three component tests to verify vitest usage: `DragableList`, `Scrollbar`, `QuickPanelView`
- Add an e2e startup test to verify playwright usage
- Extract `splitApiKeyString` and add tests for it
- Add and format some comments

* fix: mock individual properties

* test: add tests for CustomTag

* test: add tests for ExpandableText

* test: conditional rendering tooltip of tag

* chore: update dependencies
2025-05-26 16:50:26 +08:00
..
__tests__ test: more unit tests (#5130) 2025-05-26 16:50:26 +08:00
aes.ts feat: add aihubmix oauth 2025-02-07 22:27:28 +08:00
file.ts feat: add cache size retrieval functionality and integrate with UI (#5689) 2025-05-13 16:17:09 +08:00
index.ts fix: remove undici dependency and clean up ProxyManager code (#6020) 2025-05-15 22:09:53 +08:00
locales.ts Add Japanese localization for i18n (#533) 2024-12-25 22:04:29 +08:00
mcp.ts refactor: improve sanitization and formatting in buildFunctionCallToo… (#6152) 2025-05-19 11:20:38 +08:00
process.ts refactor(MCPService, process): Updated MCPService to conditionally set the NPM_CONFIG_REGISTRY 2025-04-01 20:57:56 +08:00
windowUtil.ts fix: font-family changed in Windows with new Electron (#6079) 2025-05-17 21:27:29 +08:00
zip.ts test: more unit tests (#5130) 2025-05-26 16:50:26 +08:00
zoom.ts refactor: update zoom handling in IPC and settings (#5868) 2025-05-11 18:42:25 +08:00