fix(short-drama-agent-front): 修复代码格式检查问题
This commit is contained in:
1 parent
81d6a85260
commit
48fce3975f
87 files changed
+5714
-1436
No files matched your search
@@ -138,7 +138,10 @@ describe('统一的 Naive UI 表单校验', () => {
|
||||
await input('#style-name', '手工风格')
|
||||
await input('#style-constraints', '真人写实\n\n 只用古代服装 ')
|
||||
await submit()
|
||||
expect(wrapper.emitted('save')?.[0]?.[0]).toMatchObject({ name: '手工风格', hardConstraints: ['真人写实', '只用古代服装'] })
|
||||
expect(wrapper.emitted('save')?.[0]?.[0]).toMatchObject({
|
||||
name: '手工风格',
|
||||
hardConstraints: ['真人写实', '只用古代服装']
|
||||
})
|
||||
expect(wrapper.get('#style-constraints').isVisible()).toBe(true)
|
||||
})
|
||||
|
||||
|
||||
Reference in new issue
Block a user