mirror of
https://github.com/danny-avila/LibreChat.git
synced 2026-08-04 14:57:42 +00:00
🧪 test: Assert provisionedAt on codeEnvRef in process.spec
Finding B stamps codeEnvRef with a provisionedAt timestamp at code-env upload time; update the four exact-shape assertions to expect it (expect.any(Number)).
This commit is contained in:
parent
37938f442d
commit
95f9393722
1 changed files with 4 additions and 0 deletions
|
|
@ -799,6 +799,7 @@ describe('processAgentFileUpload', () => {
|
|||
id: 'user-123',
|
||||
storage_session_id: 'sess-1',
|
||||
file_id: 'fid-1',
|
||||
provisionedAt: expect.any(Number),
|
||||
},
|
||||
},
|
||||
}),
|
||||
|
|
@ -827,6 +828,7 @@ describe('processAgentFileUpload', () => {
|
|||
id: 'agent-abc',
|
||||
storage_session_id: 'sess-2',
|
||||
file_id: 'fid-2',
|
||||
provisionedAt: expect.any(Number),
|
||||
},
|
||||
},
|
||||
}),
|
||||
|
|
@ -887,6 +889,7 @@ describe('processAgentFileUpload', () => {
|
|||
id: 'agent-abc',
|
||||
storage_session_id: 'sess-5',
|
||||
file_id: 'fid-5',
|
||||
provisionedAt: expect.any(Number),
|
||||
},
|
||||
},
|
||||
}),
|
||||
|
|
@ -1167,6 +1170,7 @@ describe('processAgentFileUpload', () => {
|
|||
id: 'agent-abc',
|
||||
storage_session_id: 'sess-csv',
|
||||
file_id: 'fid-csv',
|
||||
provisionedAt: expect.any(Number),
|
||||
},
|
||||
},
|
||||
llmDeliveryPath: 'none',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue