Skip to content

test: preserve literal string values for parsing from db #908

test: preserve literal string values for parsing from db

test: preserve literal string values for parsing from db #908

Triggered via push April 20, 2024 21:09
Status Failure
Total duration 34s
Artifacts

main.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

2 errors
src/get-packument.test.ts > getPackument: src/get-packument.test.ts#L44
AssertionError: promise rejected "ZodError: [ { "code": "invalid_type… { …(3) }" instead of resolving ❯ src/get-packument.test.ts:44:33 Caused by: ZodError: [ { "code": "invalid_type", "expected": "string", "received": "boolean", "path": [ "versions", "1.1.25", "config", "publishtest" ], "message": "Expected string, received boolean" }, { "code": "invalid_type", "expected": "string", "received": "boolean", "path": [ "versions", "1.2.32", "config", "publishtest" ], "message": "Expected string, received boolean" }, { "code": "invalid_type", "expected": "string", "received": "boolean", "path": [ "versions", "1.3.2", "config", "publishtest" ], "message": "Expected string, received boolean" }, { "code": "invalid_type", "expected": "string", "received": "boolean", "path": [ "versions", "1.3.4", "config", "publishtest" ], "message": "Expected string, received boolean" }, { "code": "invalid_type", "expected": "string", "received": "boolean", "path": [ "versions", "1.2.20", "config", "publishtest" ], "message": "Expected string, received boolean" }, { "code": "invalid_type", "expected": "string", "received": "boolean", "path": [ "versions", "1.2.21", "config", "publishtest" ], "message": "Expected string, received boolean" }, { "code": "invalid_type", "expected": "string", "received": "boolean", "path": [ "versions", "1.2.22", "config", "publishtest" ], "message": "Expected string, received boolean" }, { "code": "invalid_type", "expected": "string", "received": "boolean", "path": [ "versions", "1.2.23", "config", "publishtest" ], "message": "Expected string, received boolean" }, { "code": "invalid_type", "expected": "string", "received": "boolean", "path": [ "versions", "1.2.24", "config", "publishtest" ], "message": "Expected string, received boolean" }, { "code": "invalid_type", "expected": "string", "received": "boolean", "path": [ "versions", "1.2.25", "config", "publishtest" ], "message": "Expected string, received boolean" }, { "code": "invalid_type", "expected": "string", "received": "boolean", "path": [ "versions", "1.2.27", "config", "publishtest" ], "message": "Expected string, received boolean" }, { "code": "invalid_type", "expected": "string", "received": "boolean", "path": [ "versions", "1.2.28", "config", "publishtest" ], "message": "Expected string, received boolean" }, { "code": "invalid_type", "expected": "string", "received": "boolean", "path": [ "versions", "1.2.30", "config", "publishtest" ], "message": "Expected string, received boolean" }, { "code": "invalid_type", "expected": "string", "received": "boolean", "path": [ "versions", "1.2.31", "config", "publishtest" ], "message": "Expected string, received boolean" }, { "code": "invalid_type", "expected": "string", "received": "boolean", "path": [ "versions", "1.3.0", "config", "publishtest" ], "message": "Expected string, received boolean" }, { "code": "invalid_type", "expected": "string", "received": "boolean", "path": [ "versions", "1.3.1", "config", "publishtest" ], "message": "Expected string, received boolean" }, { "code": "invalid_type", "expected": "string", "received": "boolean", "path": [ "versions", "1.2.19", "config", "publishtest" ], "message": "Expected string, received boo
build
Process completed with exit code 1.