[fix] assets service review nits (#5444)

* [fix] assets service review nits

* [fix] lint
This commit is contained in:
Arjan Singh
2025-09-09 17:00:23 -07:00
committed by GitHub
parent 9997053290
commit 7d4437c724
8 changed files with 92 additions and 95 deletions

View File

@@ -38,7 +38,9 @@ function enableMocks(useAssetAPI = false) {
return false
})
}
vi.mocked(useSettingStore).mockReturnValue(mockSettingStore as any)
vi.mocked(useSettingStore, { partial: true }).mockReturnValue(
mockSettingStore
)
// Mock experimental API - returns objects with name and folders properties
vi.mocked(api.getModels).mockResolvedValue([