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

Auth service unit tests #2229

Merged

Conversation

horvathmarton
Copy link
Contributor

@horvathmarton horvathmarton commented Jul 15, 2023

Fixes

#1717

Checks

  • Ran yarn test-build
  • Updated relevant documentations
  • Updated matching config options in altair-static

Changes proposed in this pull request:

Added unit tests for all public method of altair-api/AuthService that is not a proxy call.

Change the Altair API jest config to only measure coverage for the source folder and ignore data holder files (DTO, input, module, strategy) and configs.

@horvathmarton horvathmarton force-pushed the horvathmarton/unit-tests branch from aa8d5bb to 3c4eb64 Compare July 15, 2023 15:28
@horvathmarton
Copy link
Contributor Author

@imolorhe I prepared a different PR that covers the remainder of the auth module with tests. Built on this one. Probably it is easier to review the two sequentially.

Would you like me to open the two combined or wait until this is merged and then point that on your repo?

@imolorhe
Copy link
Collaborator

One at a time is fine

packages/altair-api/jest.config.js Outdated Show resolved Hide resolved
Co-authored-by: Samuel <samuelimolo4real@gmail.com>
@imolorhe imolorhe added this pull request to the merge queue Jul 21, 2023
Merged via the queue into altair-graphql:master with commit fb53221 Jul 21, 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