Skip to content

jest not closing server fixed & routes tests created #4

Open
lponciolo wants to merge 15 commits into
FlashoutApp:mainfrom
lponciolo:main
Open

jest not closing server fixed & routes tests created #4
lponciolo wants to merge 15 commits into
FlashoutApp:mainfrom
lponciolo:main

Conversation

@lponciolo

Copy link
Copy Markdown
Collaborator

the problem with Jest not closing the server was due to the src/index.ts file, if this script start the server jest cannot close, it starts it's own server with supertest

now nodemon will only work with command "NODE_ENV=development && nodemon build/src/index.js"
this sets de enviroment variable to development

routes tests added.

Fix in login.service to not return sensitive information

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.

1 participant