mirror of
https://github.com/shumaiOne/shumai.git
synced 2026-11-23 19:38:47 +00:00
feat(video): add timestamp support to comments
This commit is contained in:
@@ -157,10 +157,11 @@ describe('file api', () => {
|
||||
it('POST /files/:fileId/comments', async () => {
|
||||
vi.mocked(assetService.createComment).mockResolvedValue({
|
||||
id: 'comment-id',
|
||||
assetId: 'test-id',
|
||||
assetId: 'file-id',
|
||||
message: 'hello',
|
||||
annotations: null,
|
||||
creator: { id: 'user1', name: 'user-name' },
|
||||
second: null,
|
||||
creator: { id: 'user-id', name: 'Test User' },
|
||||
replies: [],
|
||||
attachments: [],
|
||||
mentions: [],
|
||||
@@ -207,10 +208,11 @@ describe('file api', () => {
|
||||
data: [
|
||||
{
|
||||
id: 'comment-id',
|
||||
assetId: 'test-id',
|
||||
assetId: 'file-id',
|
||||
message: 'hello',
|
||||
annotations: null,
|
||||
creator: { id: 'user1', name: 'user-name' },
|
||||
second: null,
|
||||
creator: { id: 'user-id', name: 'Test User' },
|
||||
replies: [],
|
||||
attachments: [],
|
||||
mentions: [],
|
||||
|
||||
Reference in New Issue
Block a user