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

bun.js typescript translation #62

Closed
wants to merge 5 commits into from
Closed

Conversation

nitsanavni
Copy link

No description provided.

@codecop
Copy link
Collaborator

codecop commented Mar 4, 2023

Please have a look at my comment in #61

@nitsanavni
Copy link
Author

nitsanavni commented Mar 4, 2023

Thanks @codecop !

About the comments - I think the main difference with the other translations is that in this PR and in #61 the test is spawning the app in a child process, and communicating with it via the actual network (not the supertest approach).
So with this style of testing there's no need to have access to the db connection nor the server objects in the tests. The test only need to be able to kill the child process afterAll.

WDYT?

Would you still like to change it to the createApp style for consistency?

BTW, I really liked doing this kata!

@nitsanavni nitsanavni closed this Mar 30, 2023
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