mirror of
https://github.com/getpaseo/paseo.git
synced 2026-10-14 13:22:37 +00:00
test(server): format generated upload ID assertion
Retain the contributor correction to the stale request-derived ID expectation while satisfying the repository formatter. Co-authored-by: hadan8977 <zc-huang23@mails.tsinghua.edu.cn>
This commit is contained in:
co-authored by
hadan8977
parent
86bb7169b7
commit
5e93bcfe8f
@@ -158,7 +158,9 @@ test("DaemonClient uploads file bytes to daemon temp storage", async () => {
|
||||
});
|
||||
|
||||
const uploadId = result.file?.id ?? "";
|
||||
expect(uploadId).toMatch(/^upload_[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/);
|
||||
expect(uploadId).toMatch(
|
||||
/^upload_[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/,
|
||||
);
|
||||
expect(result).toEqual({
|
||||
requestId: "req-upload-e2e",
|
||||
file: {
|
||||
|
||||
Reference in New Issue
Block a user