mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-05-28 18:26:54 +00:00
fix(deps): update dependency fastify to v4.17.0 (#50230)
* fix(deps): update dependency fastify to v4.17.0 * add missing code in error object --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Sboonny <muhammed@freecodecamp.org>
This commit is contained in:
+1
-1
@@ -12,7 +12,7 @@
|
||||
"@immobiliarelabs/fastify-sentry": "^5.0.2",
|
||||
"@prisma/client": "4.14.0",
|
||||
"connect-mongo": "4.6.0",
|
||||
"fastify": "4.15.0",
|
||||
"fastify": "4.17.0",
|
||||
"fastify-auth0-verify": "^1.0.0",
|
||||
"fastify-plugin": "^4.3.0",
|
||||
"nodemon": "2.0.22"
|
||||
|
||||
@@ -103,6 +103,7 @@ describe('settingRoutes', () => {
|
||||
|
||||
expect(response?.statusCode).toEqual(400);
|
||||
expect(response?.body).toEqual({
|
||||
code: 'FST_ERR_VALIDATION',
|
||||
error: 'Bad Request',
|
||||
message: `body/profileUI must have required property 'showAbout'`,
|
||||
statusCode: 400
|
||||
|
||||
Reference in New Issue
Block a user