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

Unit testing in main process #681

Closed
victorlm125 opened this issue Mar 22, 2022 · 1 comment
Closed

Unit testing in main process #681

victorlm125 opened this issue Mar 22, 2022 · 1 comment
Labels

Comments

@victorlm125
Copy link

One month ago I used this template to create a new application. The Nodejs main part is a little bit complex so I decided to create several classes to split responsabilities and now I want to test these classes. I have to use mockups to test them and I would like to use typescript to develop the tests.

I need understand how I have to deal to do it (I get a lot of errors in every approach to test them):

  • Do I have to install a new framework to test? (I would prefer jest)
  • Where I have to install it? (I suppose on package.json from app folder side)
  • How it would be the script to run the test for this part (main process)

Thanks,
Víctor

@stale
Copy link

stale bot commented Apr 16, 2022

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix label Apr 16, 2022
@stale stale bot closed this as completed Apr 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant