fix: expect empty style when creating a project without a style
This commit is contained in:
@@ -1463,7 +1463,7 @@ describe('工作台页面交互', () => {
|
|||||||
expect(wrapper.emitted('created')).toEqual([['created']])
|
expect(wrapper.emitted('created')).toEqual([['created']])
|
||||||
expect(JSON.parse(fetcher.mock.calls[0]![1]!.body as string)).toEqual({
|
expect(JSON.parse(fetcher.mock.calls[0]![1]!.body as string)).toEqual({
|
||||||
topic: '雨夜来信',
|
topic: '雨夜来信',
|
||||||
style: '爽文反转',
|
style: '',
|
||||||
episodeCount: 6
|
episodeCount: 6
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user