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

Test other auth methods against fake-seam-connect #150

Draft
wants to merge 8 commits into
base: main
Choose a base branch
from

Conversation

razor-x
Copy link
Contributor

@razor-x razor-x commented Aug 5, 2024

Trying to use the changes introduced in seamapi/fake-seam-connect#200 (comment)

const devices = await seam.devices.list()
t.true(devices.length > 0)

const seamUsingApiKey = SeamHttp.fromApiKey(seed.seam_apikey2_token, {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

seam_apikey2_token or seam_apikey1_token?

@razor-x
Copy link
Contributor Author

razor-x commented Aug 30, 2024

@andrii-balitskyi This is low priority, but if you feel like working out this puzzle, it would be nice to find the bug in fake-seam-connect and get the tests passing.

Basically, this PR was merged, but something is not implemented right there: seamapi/fake-seam-connect#200 (comment)

A good start would be adding a test to fake-seam-connect that reproduced the errors in this PR.

test/seam/connect/console-session-token.test.ts Dismissed Show dismissed Hide dismissed
test/seam/connect/console-session-token.test.ts Dismissed Show dismissed Hide dismissed
test/seam/connect/console-session-token.test.ts Dismissed Show dismissed Hide dismissed
test/seam/connect/console-session-token.test.ts Dismissed Show dismissed Hide dismissed
test/seam/connect/env.test.ts Dismissed Show dismissed Hide dismissed
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