huilensolis is testing out 217 feat(app): encrypt data #163
Annotations
10 errors
Run tests:
apps/api/tests/integration/entry/patch.test.ts#L33
Expected: 204
Received: 400
at /home/runner/work/memoir/memoir/apps/api/tests/integration/entry/patch.test.ts:33:23
|
Run tests:
apps/api/tests/integration/entry/patch.test.ts#L39
Received: {
error: {
schema: {
type: "object",
properties: {
data: {
pattern: "^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$",
type: "string",
},
iv: {
pattern: "^[A-Za-z0-9+/]+={0,2}$",
type: "string",
},
},
required: [ "data", "iv" ],
additionalProperties: false,
},
references: [],
code: "const local_0 = /^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$/;\nconst local_1 = /^[A-Za-z0-9+/]+={0,2}$/;\nreturn function check(value) {\n return (\n (typeof value === 'object' && value !== null && !Array.isArray(value)) &&\n (typeof value.data === 'string') &&\n local_0.test(value.data) &&\n (typeof value.iv === 'string') &&\n local_1.test(value.iv) &&\n Object.getOwnPropertyNames(value).length === 2\n )\n}",
hasTransform: false,
},
}
at /home/runner/work/memoir/memoir/apps/api/tests/integration/entry/patch.test.ts:39:17
|
Run tests:
apps/api/tests/integration/entry/post.test.ts#L40
Expected to contain: "id"
Received: {
error: {
schema: {
type: "object",
properties: {
data: {
pattern: "^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$",
type: "string",
},
iv: {
pattern: "^[A-Za-z0-9+/]+={0,2}$",
type: "string",
},
},
required: [ "data", "iv" ],
additionalProperties: false,
},
references: [],
code: "const local_0 = /^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$/;\nconst local_1 = /^[A-Za-z0-9+/]+={0,2}$/;\nreturn function check(value) {\n return (\n (typeof value === 'object' && value !== null && !Array.isArray(value)) &&\n (typeof value.data === 'string') &&\n local_0.test(value.data) &&\n (typeof value.iv === 'string') &&\n local_1.test(value.iv) &&\n Object.getOwnPropertyNames(value).length === 2\n )\n}",
hasTransform: false,
},
}
at /home/runner/work/memoir/memoir/apps/api/tests/integration/entry/post.test.ts:40:22
|
Run tests:
apps/api/tests/integration/entry/post.test.ts#L29
Expected: 201
Received: 400
at /home/runner/work/memoir/memoir/apps/api/tests/integration/entry/post.test.ts:29:26
at /home/runner/work/memoir/memoir/apps/api/tests/integration/entry/post.test.ts:28:41
|
Run tests:
apps/api/tests/integration/entry/get.test.ts#L96
Expected: 200
Received: 404
at /home/runner/work/memoir/memoir/apps/api/tests/integration/entry/get.test.ts:96:24
|
Run tests:
apps/api/tests/integration/entry/get.test.ts#L104
Received: false
at /home/runner/work/memoir/memoir/apps/api/tests/integration/entry/get.test.ts:104:31
|
Run tests:
apps/api/tests/integration/entry/guard.test.ts#L77
at /home/runner/work/memoir/memoir/apps/api/tests/integration/entry/guard.test.ts:77:24
at /home/runner/work/memoir/memoir/apps/api/tests/integration/entry/guard.test.ts:69:3
at /home/runner/work/memoir/memoir/apps/api/tests/integration/entry/guard.test.ts:10:2
at /home/runner/work/memoir/memoir/apps/api/tests/integration/entry/guard.test.ts:9:1
at 2:1
|
Run tests:
apps/api/tests/integration/entry/guard.test.ts#L115
Expected: 401
Received: 400
at /home/runner/work/memoir/memoir/apps/api/tests/integration/entry/guard.test.ts:115:24
at /home/runner/work/memoir/memoir/apps/api/tests/integration/entry/guard.test.ts:114:52
|
Run tests:
apps/api/tests/integration/entry/guard.test.ts#L121
Received: {
error: {
schema: {
type: "object",
properties: {
data: {
pattern: "^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$",
type: "string",
},
iv: {
pattern: "^[A-Za-z0-9+/]+={0,2}$",
type: "string",
},
},
required: [ "data", "iv" ],
additionalProperties: false,
},
references: [],
code: "const local_0 = /^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$/;\nconst local_1 = /^[A-Za-z0-9+/]+={0,2}$/;\nreturn function check(value) {\n return (\n (typeof value === 'object' && value !== null && !Array.isArray(value)) &&\n (typeof value.data === 'string') &&\n local_0.test(value.data) &&\n (typeof value.iv === 'string') &&\n local_1.test(value.iv) &&\n Object.getOwnPropertyNames(value).length === 2\n )\n}",
hasTransform: false,
},
}
at /home/runner/work/memoir/memoir/apps/api/tests/integration/entry/guard.test.ts:121:18
|
Run tests:
apps/api/tests/integration/entry/delete.test.ts#L17
at /home/runner/work/memoir/memoir/apps/api/tests/integration/entry/delete.test.ts:17:23
at /home/runner/work/memoir/memoir/apps/api/tests/integration/entry/delete.test.ts:9:2
at /home/runner/work/memoir/memoir/apps/api/tests/integration/entry/delete.test.ts:8:1
at 2:1
|
Loading