fix: handle orphaned & existing branches in graph #65
Annotations
8 errors
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.test.ts#L145
AssertionError: expected { number: 100, …(2) } to strictly equal { number: 100, …(2) }
- Expected
+ Received
Object {
- "baseRefName": "main",
- "headRefName": "feat/git-town-action",
+ "base": Object {
+ "ref": "main",
+ },
+ "head": Object {
+ "ref": "feat/git-town-action",
+ },
"number": 100,
}
❯ src/inputs.test.ts:145:32
|
Tests
Process completed with exit code 1.
|
Lint - ESLint:
src/main.ts#L2
'github' is defined but never used. Allowed unused vars must match /^_/u
|
Lint - ESLint:
src/main.ts#L9
'octokit' is defined but never used. Allowed unused args must match /^_/u
|
Lint - ESLint:
src/main.ts#L98
'getOutput' is assigned a value but never used. Allowed unused vars must match /^_/u
|
Lint - ESLint:
src/main.ts#L163
Unexpected console statement
|
Lint - ESLint
Process completed with exit code 1.
|