-
Notifications
You must be signed in to change notification settings - Fork 24
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
refactor: standardized and updated tests #180
Conversation
Coverage Report
File Coverage
|
Adiciona print da UI de testes |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Muito pica, quero aprender mais sobre testes, ta mandando muito e eu to aprendendo com teus pr. <3
describe('UserCreateService', () => { | ||
it('should call userRepository with correct params', async () => { | ||
const repositorySpy = vi.spyOn(userRepository, 'create'); | ||
describe('UserCreateService', () => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
redundante, esse describe seria pra que? o describe pai já sintetiza o bloco de teste
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Não tinha percebido na hora, valeu
Closes #174
account
social-media
twitter
não foi alterado nada no test. obs:@juliaam ta refazendo esse teste
user