Added Prisma TypedSQL #3028
Annotations
2 errors
tests/backend/endpoints/api/v1/auth/password/sign-up.test.ts > cannot use empty password to sign up:
apps/e2e/tests/backend/endpoints/api/v1/auth/password/sign-up.test.ts#L144
Error: Snapshot `cannot use empty password to sign up 1` mismatched
- Expected
+ Received
NiceResponse {
"status": 400,
"body": {
- "code": "PASSWORD_TOO_SHORT",
- "details": { "min_length": 8 },
- "error": "Password too short. Minimum length is 8.",
+ "code": "SCHEMA_ERROR",
+ "details": { "message": "Request validation failed on POST /api/v1/auth/password/sign-up:\n - body.password must be at least 1 characters" },
+ "error": "Request validation failed on POST /api/v1/auth/password/sign-up:\n - body.password must be at least 1 characters",
},
"headers": Headers {
- "x-stack-known-error": "PASSWORD_TOO_SHORT",
+ "x-stack-known-error": "SCHEMA_ERROR",
<some fields may have been hidden>,
},
}
❯ tests/backend/endpoints/api/v1/auth/password/sign-up.test.ts:144:15
|
build (20.x)
Process completed with exit code 1.
|