ccntrq / git-jira-branch

Manage branches for your Jira tickets
https://www.npmjs.com/package/git-jira-branch
MIT License
11 stars 2 forks source link

test: split up e2e tests #443

Closed ccntrq closed 2 months ago

github-actions[bot] commented 2 months ago

Coverage Report

Status Category Percentage Covered / Total
🔵 Lines 80.89% 936 / 1157
🔵 Statements 80.89% 936 / 1157
🔵 Functions 75.75% 50 / 66
🔵 Branches 94.67% 160 / 169
File Coverage
File Stmts % Branch % Funcs % Lines Uncovered Lines
Changed Files
e2e-test/util.ts 0% 0% 0% 0% 1-6, 9, 11, 13-14, 16, 18, 20-24, 26, 28-30, 32-33, 35-38, 40-43, 45-48, 50-53, 55-58
src/cli.ts 88.37% 100% 50% 88.37% 58, 60-62, 67
Unchanged Files
commitlint.config.js 0% 0% 0% 0% 1-4
src/main.ts 0% 0% 0% 0% 1, 3-5, 7-12, 14-16, 18, 20-23, 25-31, 33-44, 46-50
src/types.ts 85.71% 100% 50% 85.71% 117-118, 125-132, 176
src/commands/create/create.command.ts 85.71% 100% 100% 85.71% 27-31
src/commands/create/create.handler.ts 98.03% 94.11% 100% 98.03% 40
src/commands/delete/delete.command.ts 67.56% 100% 100% 67.56% 34-41, 44-47
src/commands/delete/delete.handler.ts 84.84% 100% 100% 84.84% 37-41
src/commands/info/info.command.ts 67.85% 100% 100% 67.85% 16-24
src/commands/info/info.handler.ts 100% 100% 100% 100%
src/commands/list/list.command.ts 68.75% 100% 100% 68.75% 8-12
src/commands/open/open.command.ts 100% 100% 100% 100%
src/commands/open/open.handler.ts 60.71% 100% 75% 60.71% 10-20
src/commands/switch/switch.command.ts 86.95% 100% 100% 86.95% 17-19
src/commands/switch/switch.handler.ts 100% 100% 100% 100%
src/schema/branch-not-merged.ts 100% 100% 100% 100%
src/schema/no-associated-branch.ts 100% 100% 100% 100%
src/services/app-config.ts 92.68% 100% 87.5% 92.68% 88-93
src/services/git-client.ts 89.22% 100% 100% 89.22% 146-147, 149-164
src/services/jira-client.ts 90% 91.66% 100% 90% 61-63, 91-95
src/test/mock-implementations.ts 100% 100% 100% 100%
src/test/util.ts 88.23% 90.9% 85.71% 88.23% 51, 53-55
src/test/dummies/dummyJiraIssue.ts 100% 100% 100% 100%
src/utils/associated-branch.ts 100% 100% 100% 100%
src/utils/branch-formatter.ts 100% 100% 100% 100%
src/utils/issue-formatter.ts 97.01% 62.5% 100% 97.01% 42, 55
src/utils/jira-key-from-branch.ts 87.5% 100% 75% 87.5% 17-19
src/utils/jira-key.ts 100% 100% 100% 100%
src/utils/result-formatter.ts 83.33% 100% 0% 83.33% 8, 11
src/utils/slugger.ts 100% 100% 100% 100%
src/utils/url-opener.ts 21.42% 100% 0% 21.42% 7, 9-10, 12-14, 17-22, 25, 28, 30-37
Generated in workflow #1790