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

Consertado bug no teste de customer #2

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

thiagoggth
Copy link

Tem um bug no teste "should throw an error when customer is not found", nao tem o "await" antes do metodo de expect do teste, por conta disso o sequelize nao inicia direito, mas como no repository o catch ta assumindo que qualquer erro é o not found acaba passando no teste.

Erro:
image

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.

2 participants