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

Broken test #99

Closed
wants to merge 1 commit into from
Closed

Broken test #99

wants to merge 1 commit into from

Conversation

phoebe-lew
Copy link
Contributor

No description provided.

Copy link

changeset-bot bot commented Nov 23, 2023

⚠️ No Changeset found

Latest commit: c08b2fd

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

Copy link
Contributor

TBDocs Report

✅ No errors or warnings

@tbdex/protocol

  • Project entry file: packages/protocol/src/main.ts

@tbdex/http-client

  • Project entry file: packages/http-client/src/main.ts

@tbdex/http-server

  • Project entry file: packages/http-server/src/main.ts

Updated @ 2023-11-23T12:12:13.503Z - Commit: b7683cb

const { didResolutionMetadata, didDocument } = await DidResolver.resolve(did)
console.log(`yayy we resolved`)
Copy link
Contributor Author

Choose a reason for hiding this comment

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

this line never prints

describe('resolveDid', () => {
it.only('resolves did:dht', async () => {
const did = await DidDhtMethod.create()
const resolutionResult = await resolveDid(did.did)
Copy link
Contributor Author

Choose a reason for hiding this comment

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

test output:

1) Did Resolver
       resolveDid
         resolves did:dht:
     Error: Timeout of 2000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves. (/Users/plew/Development/tbdex-js/packages/protocol/tests/compiled/tests/did-resolver.spec.js)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7)
      ```

@mistermoe
Copy link
Member

@phoebe-lew helpful context here: TBD54566975/web5-js#312

@phoebe-lew phoebe-lew closed this Nov 29, 2023
@phoebe-lew phoebe-lew deleted the plew.test-dht-resolve branch November 29, 2023 23:04
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