devhatt / octopost-backend

Backend da aplicação octopost
https://devhatt.github.io/octopost-backend/
9 stars 24 forks source link

feat: login twitter test #187

Open juliaam opened 2 months ago

juliaam commented 2 months ago

Closes #183

Feature Criação do teste para o login do twitter
Visual evidences :framed_picture: ![image](https://github.com/user-attachments/assets/60ac82e3-687c-4f4b-bd09-fb86e787c388)
Checklist - [x] Issue linked - [x] Build working correctly - [x] Tests created
github-actions[bot] commented 2 months ago

Coverage Report

Status Category Percentage Covered / Total
🟢 Lines 88.44% (🎯 85%) 291 / 329
🟢 Statements 88.51% (🎯 85%) 293 / 331
🟢 Functions 86.23% (🎯 85%) 94 / 109
🔴 Branches 81.48% (🎯 85%) 44 / 54
File Coverage
File Stmts % Branch % Funcs % Lines Uncovered Lines
Changed Files
src/middlewares/auth/auth-jwt.ts 100% 100% 100% 100%
Generated in workflow #343
DominMFD commented 2 months ago

Amiga, tira um print da UI de teste mostrando os coverage

k1nha commented 2 months ago

esses testes não deveriam ser feitos depois da refatoração no controller e service do twitter?