Addressing comment on PR #60 #11
Annotations
2 errors
|
copilot
{\n- \"success\": true,\n+ \"email\": \"This email has already been registered\",\n+ \"errorMessage\": \"\",\n+ \"statusCode\": 400,\n+ \"success\": false,\n+ \"username\": \"This username has already been taken\",\n }\n\n- Expected - 1\n+ Received + 5\n\n at <anonymous> (/home/runner/work/paradb/paradb/src/services/jest_helpers.ts:74:55)\n at async <anonymous> (/home/runner/work/paradb/paradb/src/services/maps/tests/maps.test.ts:10:45)\n at async <anonymous> (/home/runner/work/paradb/paradb/src/services/maps/tests/maps.test.ts:168:34)\n2026-02-09T12:57:29.9408881Z (fail) maps handler > fails when > has no rlrr files [28.00ms]\n2026-02-09T12:57:29.9682203Z 69 | }\n2026-02-09T12:57:29.9682639Z 70 | )\n2026-02-09T12:57:29.9682962Z 71 | )\n2026-02-09T12:57:29.9683359Z 72 | );\n2026-02-09T12:57:29.9684065Z 73 | \n2026-02-09T12:57:29.9684650Z 74 | expect(SignupResponse.parse(JSON.parse(resp.body))).toEqual({ success: true });\n2026-02-09T12:57:29.9685168Z ^\n2026-02-09T12:57:29.9685922Z error: expect(received).toEqual(expected)\n2026-02-09T12:57:29.9686753Z \n2026-02-09T12:57:29.9687096Z {\n2026-02-09T12:57:29.9687349Z - \"success\": true,\n2026-02-09T12:57:29.9687610Z + \"email\": \"This email has already been registered\",\n2026-02-09T12:57:29.9688075Z + \"errorMessage\": \"\",\n2026-02-09T12:57:29.9689098Z + \"statusCode\": 400,\n2026-02-09T12:57:29.9689794Z + \"success\": false,\n2026-02-09T12:57:29.9690701Z + \"username\": \"This username has already been taken\",\n2026-02-09T12:57:29.9691267Z }\n2026-02-09T12:57:29.9691841Z \n2026-02-09T12:57:29.9692115Z - Expected - 1\n2026-02-09T12:57:29.9692420Z + Received + 5\n2026-02-09T12:57:29.9692530Z \n2026-02-09T12:57:29.9692766Z at <anonymous> (/home/runner/work/paradb/paradb/src/services/jest_helpers.ts:74:55)\n2026-02-09T12:57:29.9693363Z at async <anonymous> (/home/runner/work/paradb/paradb/src/services/maps/tests/maps.test.ts:10:45)\n2026-02-09T12:57:29.9693975Z at async <anonymous> (/home/runner/work/paradb/paradb/src/services/maps/tests/maps.test.ts:177:34)\n2026-02-09T12:57:29.9694324Z \n2026-02-09T12:57:29.9700225Z ##[error] {\n- \"success\": true,\n+ \"email\": \"This email has already been registered\",\n+ \"errorMessage\": \"\",\n+ \"statusCode\": 400,\n+ \"success\": false,\n+ \"username\": \"This username has already been taken\",\n }\n\n- Expected - 1\n+ Received + 5\n\n at <anonymous> (/home/runner/work/paradb/paradb/src/services/jest_helpers.ts:74:55)\n at async <anonymous> (/home/runner/work/paradb/paradb/src/services/maps/tests/maps.test.ts:10:45)\n at async <anonymous> (/home/runner/work/paradb/paradb/src/services/maps/tests/maps.test.ts:177:34)\n2026-02-09T12:57:29.9706536Z (fail) maps handler > fails when > has a corrupted or incorrectly formatted rlrr file [30.00ms]\n2026-02-09T12:57:29.9950350Z 69 | }\n2026-02-09T12:57:29.9950717Z 70 | )\n2026-02-09T12:57:29.9952101Z 71 | )\n2026-02-09T12:57:29.9952532Z 72 | );\n2026-02-09T12:57:29.9953149Z 73 | \n2026-02-09T12:57:29.9954243Z 74 | expect(SignupResponse.parse(JSON.parse(resp.body))).toEqual({ success: true });\n2026-02-09T12:57:29.9955057Z ^\n2026-02-09T12:57:29.9955906Z error: expect(received).toEqual(expected)\n2026-02-09T12:57:29.9956817Z \n2026-02-09T12:57:29.9958515Z {\n2026-02-09T12:57:29.9959311Z - \"success\": true,\n2026-02-09T12:57:29.9960351Z + \"email\": \"This email has already been registered\",\n2026-02-09T12:57:29.9960950Z + \"errorMessage\": \"\",\n2026-02-09T12:57:29.9961642Z + \"statusCode\": 400,\n2026-02-09T12:57:29.9962272Z + \"success\": false,\n2026-02-09T12:57:29.9963030Z + \"username\": \"This username has already been taken\",\n2026-02-09T12:57:29.9963609Z }\n2026-02-09T12:57:29.9963778Z \n2026-02-09T12:57:29.9963904Z - Expected - 1\n2026-02-09T12:57:29.9964192Z + Received + 5\n2026-02-09
|
|
copilot
{\n- \"success\": true,\n+ \"email\": \"This email has already been registered\",\n+ \"errorMessage\": \"\",\n+ \"statusCode\": 400,\n+ \"success\": false,\n+ \"username\": \"This username has already been taken\",\n }\n\n- Expected - 1\n+ Received + 5\n\n at <anonymous> (/home/runner/work/paradb/paradb/src/services/users/tests/users.test.ts:19:19)\n2026-02-09T12:57:30.7702839Z (fail) signup handler > allows users to sign up [158.00ms]\n2026-02-09T12:57:30.8152247Z 30 | email: testUser2.email,\n2026-02-09T12:57:30.8152756Z 31 | password: testUser2.password,\n2026-02-09T12:57:30.8153216Z 32 | username: testUser.username,\n2026-02-09T12:57:30.8153602Z 33 | });\n2026-02-09T12:57:30.8153892Z 34 | \n2026-02-09T12:57:30.8154205Z 35 | expect(resp1).toEqual({ success: true });\n2026-02-09T12:57:30.8154638Z ^\n2026-02-09T12:57:30.8154989Z error: expect(received).toEqual(expected)\n2026-02-09T12:57:30.8155294Z \n2026-02-09T12:57:30.8155361Z {\n2026-02-09T12:57:30.8155521Z - \"success\": true,\n2026-02-09T12:57:30.8155908Z + \"email\": \"This email has already been registered\",\n2026-02-09T12:57:30.8156590Z + \"errorMessage\": \"\",\n2026-02-09T12:57:30.8156836Z + \"statusCode\": 400,\n2026-02-09T12:57:30.8157028Z + \"success\": false,\n2026-02-09T12:57:30.8157260Z + \"username\": \"This username has already been taken\",\n2026-02-09T12:57:30.8157722Z }\n2026-02-09T12:57:30.8157869Z \n2026-02-09T12:57:30.8157992Z - Expected - 1\n2026-02-09T12:57:30.8158302Z + Received + 5\n2026-02-09T12:57:30.8158478Z \n2026-02-09T12:57:30.8158927Z at <anonymous> (/home/runner/work/paradb/paradb/src/services/users/tests/users.test.ts:35:19)\n2026-02-09T12:57:30.8159545Z \n2026-02-09T12:57:30.8163609Z ##[error] {\n- \"success\": true,\n+ \"email\": \"This email has already been registered\",\n+ \"errorMessage\": \"\",\n+ \"statusCode\": 400,\n+ \"success\": false,\n+ \"username\": \"This username has already been taken\",\n }\n\n- Expected - 1\n+ Received + 5\n\n at <anonymous> (/home/runner/work/paradb/paradb/src/services/users/tests/users.test.ts:35:19)\n2026-02-09T12:57:30.8166845Z (fail) signup handler > does not allow users to sign up with the same username [46.00ms]\n2026-02-09T12:57:30.8653903Z 51 | email: testUser.email,\n2026-02-09T12:57:30.8654383Z 52 | password: testUser2.password,\n2026-02-09T12:57:30.8654820Z 53 | username: testUser2.username,\n2026-02-09T12:57:30.8655070Z 54 | });\n2026-02-09T12:57:30.8655230Z 55 | \n2026-02-09T12:57:30.8655425Z 56 | expect(resp1).toEqual({ success: true });\n2026-02-09T12:57:30.8655692Z ^\n2026-02-09T12:57:30.8655914Z error: expect(received).toEqual(expected)\n2026-02-09T12:57:30.8656330Z \n2026-02-09T12:57:30.8656453Z {\n2026-02-09T12:57:30.8656608Z - \"success\": true,\n2026-02-09T12:57:30.8656845Z + \"email\": \"This email has already been registered\",\n2026-02-09T12:57:30.8657110Z + \"errorMessage\": \"\",\n2026-02-09T12:57:30.8657311Z + \"statusCode\": 400,\n2026-02-09T12:57:30.8657493Z + \"success\": false,\n2026-02-09T12:57:30.8657730Z + \"username\": \"This username has already been taken\",\n2026-02-09T12:57:30.8657986Z }\n2026-02-09T12:57:30.8658074Z \n2026-02-09T12:57:30.8658149Z - Expected - 1\n2026-02-09T12:57:30.8658318Z + Received + 5\n2026-02-09T12:57:30.8658420Z \n2026-02-09T12:57:30.8658686Z at <anonymous> (/home/runner/work/paradb/paradb/src/services/users/tests/users.test.ts:56:19)\n2026-02-09T12:57:30.8659041Z \n2026-02-09T12:57:30.8661849Z ##[error] {\n- \"success\": true,\n+ \"email\": \"This email has already been registered\",\n+ \"errorMessage\": \"\",\n+ \"statusCode\": 400,\n+ \"success\": false,\n+ \"username\": \"This username has already been taken\",\n }\n\n- Expected - 1\n+ Received + 5\n\n at <anonymous> (/home/runner/work/paradb/paradb/src/services/users/tests/users.test.ts:56:19)\n2026-02-09T12:57:30.8665262Z (fail) signup handler > does not allow users to s
|