fix: handle orphaned & existing branches in graph #79
Annotations
6 errors
Tests
Unable to determine current pull request from action payload
|
Tests
Unable to determine current pull request from action payload
|
src/inputs.test.ts > getCurrentPullRequest > should return current pull request from action payload:
src/inputs.ts#L106
ZodError: [
{
"code": "invalid_type",
"expected": "string",
"received": "undefined",
"path": [
"state"
],
"message": "Required"
}
]
❯ Object.get error [as error] node_modules/zod/lib/index.mjs:538:31
❯ ZodObject.parse node_modules/zod/lib/index.mjs:638:22
❯ Object.getCurrentPullRequest src/inputs.ts:106:45
❯ src/inputs.test.ts:143:39
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { issues: [ { code: 'invalid_type', expected: 'string', received: 'undefined', path: [ 'state' ], message: 'Required' } ], addIssue: 'Function<anonymous>', addIssues: 'Function<anonymous>', errors: [ { code: 'invalid_type', expected: 'string', received: 'undefined', path: [ 'state' ], message: 'Required' } ], format: 'Function<format>', isEmpty: false, flatten: 'Function<flatten>', formErrors: { formErrors: [], fieldErrors: { state: [ 'Required' ] } } }
|
Tests
Process completed with exit code 1.
|
Lint - ESLint:
src/main.ts#L109
Unexpected console statement
|
Lint - ESLint
Process completed with exit code 1.
|