test(server): check full uuid shape for upload id

This commit is contained in:
hadan8977
2026-10-14 21:43:18 +02:00
committed by paseo-bot[bot]
parent 22b1f07165
commit 1db26ef113
@@ -158,7 +158,7 @@ test("DaemonClient uploads file bytes to daemon temp storage", async () => {
});
const uploadId = result.file?.id ?? "";
expect(uploadId).toMatch(/^upload_[0-9a-f-]{36}$/);
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: {