Skip to content

Commit

Permalink
chore: test todo action
Browse files Browse the repository at this point in the history
  • Loading branch information
arpentnoir committed Jun 28, 2023
1 parent 1df2a18 commit 2faf9dc
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
10 changes: 10 additions & 0 deletions packages/cli/default/default.yml
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,16 @@ didResolver:
sov:
$ref: /universal-resolver

# TODO: remove hardcoded infura project ID

# this is referencing someone else's infura project that could
# be shut down at any point, breaking any functionality that requires
# eth interactions.

# worth searching the rest of the codebase at the same time as
# fixing this, there are several other references in demo-explorer,
# and tests...

ethr-did-resolver:
$require: ethr-did-resolver?t=function&p=/ethr#getResolver
$args:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,12 @@ const customContext: Record<string, ContextDoc> = {
},
}

// TODO: remove infura dependency in tests
//
// not great having external dependency in test
// these tests should be refactored to not rely on
// external service

const infuraProjectId = '3586660d179141e3801c3895de1c2eba'

describe('credential-LD full flow', () => {
Expand Down

0 comments on commit 2faf9dc

Please sign in to comment.