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

Feat/fido connect extension #13

Merged
merged 82 commits into from
Apr 30, 2024
Merged

Feat/fido connect extension #13

merged 82 commits into from
Apr 30, 2024

Conversation

PhearZero
Copy link
Member

@PhearZero PhearZero commented Apr 24, 2024

kylebeee and others added 30 commits April 8, 2024 14:55
- added unit tests for assertion module controller
- removed express response object where possible to avoid mocking
- added unit tests for attestation module controller
- removed express response object where possible to avoid mocking
- added unit tests for auth module controller
- removed express response object where possible to avoid mocking
  resolved value for it)
- updated endpoints to not JSON.stringify responses ( handled by nest )
- removed unnecessary mocks
- removed JSON.stringify from api responses
This reverts commit de18cc9.
- changed mock challenges to be more realistic
@PhearZero PhearZero mentioned this pull request Apr 24, 2024
1 task
@PhearZero PhearZero marked this pull request as draft April 24, 2024 15:20
- fixes up tests
- removes lint errors
@PhearZero PhearZero marked this pull request as ready for review April 24, 2024 15:50
client-gen.sh Outdated
sed -i "s/\.\/api/\.\/api.js/g" clients/liquid-auth-client-js/src/client/api_test.spec.ts
rm clients/liquid-auth-client-js/src/client/git_push.sh

#java -jar swagger-codegen-cli.jar generate -i http://localhost:3000/docs-json -l kotlin-client -o clients/liquid-auth-client-kotlin
Copy link
Contributor

@HashMapsData2Value HashMapsData2Value Apr 25, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we need this comment?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Keeping it for if/when we generate the REST clients, the docs/client gen effort is on hold for now

@HashMapsData2Value
Copy link
Contributor

HashMapsData2Value commented Apr 25, 2024

I noticed when running npm run test:cov locally - and after double-checking in the CI jobs - that 6 tests are skipped and that there's an error with Nest

[Nest] 2003 - 04/25/2024, 1:32:43 AM ERROR [AttestationController] Not Found Exception

Is there a reason for this?

@PhearZero
Copy link
Member Author

I noticed when running npm run test:cov locally - and after double-checking in the CI jobs - that 6 tests are skipped and that there's an error with Nest

[Nest] 2003 - 04/25/2024, 1:32:43 AM ERROR [AttestationController] Not Found Exception

Is there a reason for this?

@HashMapsData2Value A few tests are skipped, still working on getting coverage up. We are testing error conditions for better branch coverage and this is the source of the Nest errors

Copy link
Contributor

@ori-shem-tov ori-shem-tov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM after our meeting

@PhearZero PhearZero merged commit 8a89838 into develop Apr 30, 2024
2 checks passed
@PhearZero PhearZero deleted the feat/fido-connect-extension branch May 4, 2024 00:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants