mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-03-05 05:00:03 +00:00
chore: update import statements to use 'type' for type-only imports for better clarity and performance
refactor(collect-i18n-node-defs): clean up comments for clarity on API endpoint behavior
This commit is contained in:
@@ -19,15 +19,7 @@ test('collect-i18n-node-defs', async ({ comfyPage }) => {
|
||||
})
|
||||
})
|
||||
|
||||
// Don't mock the object_info API endpoint - let it hit the actual backend
|
||||
// Comment out the mock to use real backend data
|
||||
// await comfyPage.page.route('**/api/object_info', async (route) => {
|
||||
// await route.fulfill({
|
||||
// status: 200,
|
||||
// contentType: 'application/json',
|
||||
// body: JSON.stringify({})
|
||||
// })
|
||||
// })
|
||||
// Note: Don't mock the object_info API endpoint - let it hit the actual backend
|
||||
|
||||
const nodeDefs: ComfyNodeDefImpl[] = (
|
||||
Object.values(
|
||||
|
||||
Reference in New Issue
Block a user