mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-05-13 09:16:20 +00:00
## Summary Adds e2e testing to ensure workflows are correctly loaded from each of the supported file types ## Changes - **What**: - add png generation - add mime types for missing files - add test that loads file and ensures node is present ┆Issue is synchronized with this [Notion page](https://www.notion.so/PR-11522-test-add-e2e-test-for-metadata-parsing-on-workflow-load-3496d73d36508101ad67d24af1810cec) by [Unito](https://www.unito.io)
8 lines
228 B
TypeScript
8 lines
228 B
TypeScript
export function assetPath(fileName: string): string {
|
|
return `./browser_tests/assets/${fileName}`
|
|
}
|
|
|
|
export function metadataFixturePath(fileName: string): string {
|
|
return `./src/scripts/metadata/__fixtures__/${fileName}`
|
|
}
|