-
-
Notifications
You must be signed in to change notification settings - Fork 6
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
Issue with unit tests after adding TypeORM #108
Comments
I'm looking to contribute to an open source project, could I be assigned this? |
@jroper-scottlogic hello. Yes, you can. However, it might be a good idea until I finish another PR #117 which is draft at the moment and very large. |
@jroper-scottlogic , allright, massive change is about to be done. Let me know if you are going forward with this ticket. 😊 |
yeah, happy to start now! |
@jroper-scottlogic awesome! 👍🏻 Check this out first https://github.com/cortip/isomera/blob/main/CONTRIBUTORS.md |
@jroper-scottlogic any luck? :) |
I am unasigning @jroper-scottlogic since it was 4 days without any activity. |
Hello, |
@naftalimurgor , go for it! 😉 |
@vygandas |
Hey. |
@demakoff ah, sorry, forgot to make job private there. I will need more stuff done. First need to get this ready to unblock everything else. I'll take a note to ping you too, when new task appears |
* test: fix tests unit tests for `profile.controller.ts` #108 * refactor: fix failing prettier lint in `profile.controller.spec.ts` * test: fix `user.service` tests #108 * tests: fix test `user.service` tests * test: fix `mailer.service` tests * test: fix `confirm-code.service` tests * test: fix `is-user-already-exist.validator` test * test: fix `auth.controller` tests * tests: fix `auth.service` tests * test: fix `local-auth.guard.` tess * chore: add `@golevel/ts-jest` dependency * test: fix `token.interceptor` tests * test: fix `local-auth.guard` unit tests #108 * test: fix `local-auth.guard` unit tests #108 * test: fix `token.interceptor` test timing out #108 * chore: fix lint problem, revert back to use `createMock` * fix: fix lint errors `profile.controller.spec.ts` * chore: clean up remove comments `local-auth.guard.spect.ts` * test: fix 'auth.controller` login password testcase check * refactor: minor refactor, set `user.password` to `undefined` in `auth.service` * test: fix login/register testcases for `auth.controller.ts` * test: fix assertion for password in user object * refactor: revert back to `delete user.password` instead of setting value to undefined * fix: prettier linting on `auth.controller` * fix: prettier linting on `auth.controller` tests * fix: prettier linting on `auth.service.spec.ts`
Currently, we practically disabled unit tests in the API app because it was bottlenecking all other tickets. Decided not to delay TypeORM integration anymore and closed the PR. The problem is, that we have a bunch of new unit tests for API, which were moved from another project, but we never fixed tests that already were not working. It is needed to fix tests and make it all work ok. Some tests might be irrelevant, so making some adjustments is okay.
Acceptance criteria:
nx run api:test
andnx run platform:test
passing successfully with all testsThe text was updated successfully, but these errors were encountered: