Skip to content

fix build

fix build #634

Triggered via push December 17, 2024 14:29
Status Failure
Total duration 3m 37s
Artifacts
Matrix: prettier
Matrix: build_test
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 2 warnings
routers/test/account.router.test.ts > Account routes > POST /accounts/sign-in > should receive valid email and password: server/routers/test/account.router.test.ts#L38
Error: expected 400 "Bad Request", got 401 "Unauthorized" ❯ routers/test/account.router.test.ts:38:10 ❯ Test._assertStatus ../node_modules/supertest/lib/test.js:252:14 ❯ ../node_modules/supertest/lib/test.js:308:13 ❯ Test._assertFunction ../node_modules/supertest/lib/test.js:285:13 ❯ Test.assert ../node_modules/supertest/lib/test.js:164:23 ❯ Server.localAssert ../node_modules/supertest/lib/test.js:120:14
routers/test/account.router.test.ts > Account routes > POST /accounts/sign-in > should succeed if the user is found and the password is correct: server/routers/test/account.router.test.ts#L76
Error: expected 200 "OK", got 401 "Unauthorized" ❯ routers/test/account.router.test.ts:76:10 ❯ Test._assertStatus ../node_modules/supertest/lib/test.js:252:14 ❯ ../node_modules/supertest/lib/test.js:308:13 ❯ Test._assertFunction ../node_modules/supertest/lib/test.js:285:13 ❯ Test.assert ../node_modules/supertest/lib/test.js:164:23 ❯ Server.localAssert ../node_modules/supertest/lib/test.js:120:14
routers/test/analysis.router.test.ts > Analysis router > GET /analysis > should fail if the user does not have the permission to read analysis: server/routers/test/analysis.router.test.ts#L106
Error: expected 403 "Forbidden", got 401 "Unauthorized" ❯ routers/test/analysis.router.test.ts:106:10 ❯ Test._assertStatus ../node_modules/supertest/lib/test.js:252:14 ❯ ../node_modules/supertest/lib/test.js:308:13 ❯ Test._assertFunction ../node_modules/supertest/lib/test.js:285:13 ❯ Test.assert ../node_modules/supertest/lib/test.js:164:23 ❯ Server.localAssert ../node_modules/supertest/lib/test.js:120:14
routers/test/analysis.router.test.ts > Analysis router > GET /analysis > should get a valid sample id: server/routers/test/analysis.router.test.ts#L113
Error: expected 400 "Bad Request", got 401 "Unauthorized" ❯ routers/test/analysis.router.test.ts:113:10 ❯ Test._assertStatus ../node_modules/supertest/lib/test.js:252:14 ❯ ../node_modules/supertest/lib/test.js:308:13 ❯ Test._assertFunction ../node_modules/supertest/lib/test.js:285:13 ❯ Test.assert ../node_modules/supertest/lib/test.js:164:23 ❯ Server.localAssert ../node_modules/supertest/lib/test.js:120:14
routers/test/analysis.router.test.ts > Analysis router > GET /analysis > should fail if the analysis does not exist: server/routers/test/analysis.router.test.ts#L125
Error: expected 404 "Not Found", got 401 "Unauthorized" ❯ routers/test/analysis.router.test.ts:125:10 ❯ Test._assertStatus ../node_modules/supertest/lib/test.js:252:14 ❯ ../node_modules/supertest/lib/test.js:308:13 ❯ Test._assertFunction ../node_modules/supertest/lib/test.js:285:13 ❯ Test.assert ../node_modules/supertest/lib/test.js:164:23 ❯ Server.localAssert ../node_modules/supertest/lib/test.js:120:14
routers/test/analysis.router.test.ts > Analysis router > GET /analysis > should get a analysis without residue: server/routers/test/analysis.router.test.ts#L132
Error: expected 200 "OK", got 401 "Unauthorized" ❯ routers/test/analysis.router.test.ts:132:10 ❯ Test._assertStatus ../node_modules/supertest/lib/test.js:252:14 ❯ ../node_modules/supertest/lib/test.js:308:13 ❯ Test._assertFunction ../node_modules/supertest/lib/test.js:285:13 ❯ Test.assert ../node_modules/supertest/lib/test.js:164:23 ❯ Server.localAssert ../node_modules/supertest/lib/test.js:120:14
routers/test/analysis.router.test.ts > Analysis router > GET /analysis > should get an analysis with residues: server/routers/test/analysis.router.test.ts#L144
Error: expected 200 "OK", got 401 "Unauthorized" ❯ routers/test/analysis.router.test.ts:144:10 ❯ Test._assertStatus ../node_modules/supertest/lib/test.js:252:14 ❯ ../node_modules/supertest/lib/test.js:308:13 ❯ Test._assertFunction ../node_modules/supertest/lib/test.js:285:13 ❯ Test.assert ../node_modules/supertest/lib/test.js:164:23 ❯ Server.localAssert ../node_modules/supertest/lib/test.js:120:14
routers/test/analysis.router.test.ts > Analysis router > POST /analysis > should get a valid body: server/routers/test/analysis.router.test.ts#L176
Error: expected 400 "Bad Request", got 401 "Unauthorized" ❯ badRequestTest routers/test/analysis.router.test.ts:176:12 ❯ routers/test/analysis.router.test.ts:178:13 ❯ Test._assertStatus ../node_modules/supertest/lib/test.js:252:14 ❯ ../node_modules/supertest/lib/test.js:308:13 ❯ Test._assertFunction ../node_modules/supertest/lib/test.js:285:13 ❯ Test.assert ../node_modules/supertest/lib/test.js:164:23 ❯ Server.localAssert ../node_modules/supertest/lib/test.js:120:14
routers/test/analysis.router.test.ts > Analysis router > POST /analysis > should fail if the user does not have the permission to create analysis: server/routers/test/analysis.router.test.ts#L206
Error: expected 403 "Forbidden", got 401 "Unauthorized" ❯ routers/test/analysis.router.test.ts:206:10 ❯ Test._assertStatus ../node_modules/supertest/lib/test.js:252:14 ❯ ../node_modules/supertest/lib/test.js:308:13 ❯ Test._assertFunction ../node_modules/supertest/lib/test.js:285:13 ❯ Test.assert ../node_modules/supertest/lib/test.js:164:23 ❯ Server.localAssert ../node_modules/supertest/lib/test.js:120:14
routers/test/analysis.router.test.ts > Analysis router > POST /analysis > should create an analysis and update the associated sample status: server/routers/test/analysis.router.test.ts#L219
Error: expected 201 "Created", got 401 "Unauthorized" ❯ routers/test/analysis.router.test.ts:219:10 ❯ Test._assertStatus ../node_modules/supertest/lib/test.js:252:14 ❯ ../node_modules/supertest/lib/test.js:308:13 ❯ Test._assertFunction ../node_modules/supertest/lib/test.js:285:13 ❯ Test.assert ../node_modules/supertest/lib/test.js:164:23 ❯ Server.localAssert ../node_modules/supertest/lib/test.js:120:14
prettier (22.x)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
build_test (22.x)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636