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

chore(auth): add login tests #5043

Merged
merged 2 commits into from
May 28, 2024
Merged

chore(auth): add login tests #5043

merged 2 commits into from
May 28, 2024

Conversation

hayemaxi
Copy link
Contributor

@hayemaxi hayemaxi commented May 22, 2024

Just some basic tests. We could use some more tests that cover the connection re-use functionality.

License

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@hayemaxi hayemaxi marked this pull request as ready for review May 23, 2024 21:25
@hayemaxi hayemaxi requested a review from a team as a code owner May 23, 2024 21:25
})
})

it('successfully signs into account IdC and emits telemetry', async function () {
Copy link
Contributor

Choose a reason for hiding this comment

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

"successfully" is usually redundant in test names. It would be unusual to test that something failed (and then we would say "fails" in the name)

Suggested change
it('successfully signs into account IdC and emits telemetry', async function () {
it('signs into account IdC and emits telemetry', async function () {

Copy link
Contributor

@justinmk3 justinmk3 left a comment

Choose a reason for hiding this comment

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

Clearly structured with minimal indirection. Nice!

@hayemaxi hayemaxi merged commit 02932d5 into aws:master May 28, 2024
13 of 14 checks passed
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