mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-03-14 01:20:03 +00:00
Add Gemini Image node static pricing (#5219)
* Add Gemini Image node static pricing * Update locales [skip ci] --------- Co-authored-by: github-actions <github-actions@github.com>
This commit is contained in:
@@ -1561,6 +1561,14 @@ describe('useNodePricing', () => {
|
||||
const price = getNodeDisplayPrice(node)
|
||||
expect(price).toBe('Token-based')
|
||||
})
|
||||
|
||||
it('should return static price for GeminiImageNode', () => {
|
||||
const { getNodeDisplayPrice } = useNodePricing()
|
||||
const node = createMockNode('GeminiImageNode')
|
||||
|
||||
const price = getNodeDisplayPrice(node)
|
||||
expect(price).toBe('$0.03 per 1K tokens')
|
||||
})
|
||||
})
|
||||
|
||||
describe('Additional RunwayML edge cases', () => {
|
||||
|
||||
Reference in New Issue
Block a user