feat(short-drama-agent-front): 接入图片持续授权与视频费用审计
This commit is contained in:
1 parent
3915566994
commit
1e9ef33d1d
39 files changed
+3442
-51
No files matched your search
@@ -1,3 +1,4 @@
|
||||
import { generationConfigApi } from '@/features/generation-config/api'
|
||||
import { imageCatalog, generationProfile } from '../../fixtures/generation'
|
||||
import { routerLinkStubs } from '../../fixtures/router'
|
||||
import { defineComponent, h, reactive } from 'vue'
|
||||
@@ -110,6 +111,12 @@ describe('统一的 Naive UI 表单校验', () => {
|
||||
})
|
||||
|
||||
it('图片尺寸采用目录必填枚举,切换目标清空提示词和费用确认', async () => {
|
||||
/** 原图片表单先解析主体覆盖,测试仅提供正式只读配置。 */
|
||||
vi.spyOn(generationConfigApi, 'resolve').mockResolvedValue({
|
||||
provider: creativeProfile.imageProvider,
|
||||
model: creativeProfile.imageModel,
|
||||
options: { ...creativeProfile.imageOptions }
|
||||
})
|
||||
wrapper = mount(GenerateImageDialog, {
|
||||
attachTo: document.body,
|
||||
props: {
|
||||
|
||||
Reference in new issue
Block a user