Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: login twitter service #189

Merged
merged 11 commits into from
Sep 20, 2024
Merged

feat: login twitter service #189

merged 11 commits into from
Sep 20, 2024

Conversation

DominMFD
Copy link
Contributor

@DominMFD DominMFD commented Sep 10, 2024

Closes #164

Feature

Foi criado um novo Service para o login e os testes.

Visual evidences 🖼️

image
image
image

Checklist
  • Issue linked
  • Build working correctly
  • Tests created

@DominMFD DominMFD requested review from a team as code owners September 10, 2024 12:51
@DominMFD DominMFD requested review from Luiginicoletti, juliaam, PiluVitu and Frompaje and removed request for a team September 10, 2024 12:51
Copy link
Contributor

github-actions bot commented Sep 10, 2024

Coverage Report

Status Category Percentage Covered / Total
🟢 Lines 88.92% (🎯 85%) 297 / 334
🟢 Statements 88.98% (🎯 85%) 299 / 336
🟢 Functions 88.49% (🎯 85%) 100 / 113
🔴 Branches 81.13% (🎯 85%) 43 / 53
File Coverage
File Stmts % Branch % Funcs % Lines Uncovered Lines
Changed Files
src/features/twitter/controllers/twitter-controller.ts 100% 100% 100% 100%
src/features/twitter/helpers/generate-auth-url.ts 100% 100% 100% 100%
src/features/twitter/services/login-twitter-service.ts 100% 100% 100% 100%
src/shared/errors/unauthorized-header-error.ts 100% 100% 100% 100%
Generated in workflow #355

Copy link
Member

@Luiginicoletti Luiginicoletti left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Boa!

hi-five-food-gif-by-top-chef-brasil

@DominMFD DominMFD self-assigned this Sep 10, 2024
@Luiginicoletti Luiginicoletti self-requested a review September 12, 2024 14:46
@DominMFD DominMFD requested a review from Frompaje September 13, 2024 13:47
@Frompaje Frompaje self-requested a review September 13, 2024 13:57
});
expect(res.json).toHaveBeenCalledWith('url');
}),
it('should be return a error', () => {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
it('should be return a error', () => {
it('should return a error', () => {

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

precisava fazer?

@devlefel devlefel merged commit 8628a5a into main Sep 20, 2024
3 of 4 checks passed
@devlefel devlefel deleted the issue-164 branch September 20, 2024 17:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Mover fluxo de login para um service
6 participants