-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Explain local testing config in README.
- Loading branch information
1 parent
39d5cbe
commit ac48a09
Showing
3 changed files
with
65 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
// Rename this file to localConfig.cjs | ||
// you can specify a BASE_URL before running the tests such as: | ||
// BASE_URL=http://localhost:40443/zDdfsdfs npm test | ||
const baseUrl = process.env.BASE_URL || 'https://localhost:40443/id'; | ||
module.exports = { | ||
settings: {}, | ||
implementations: [{ | ||
name: 'My Company', | ||
implementation: 'My Implementation Name', | ||
issuers: [{ | ||
id: 'did:myMethod:implementation:issuer:id', | ||
endpoint: `${baseUrl}/credentials/issue` | ||
}], | ||
verifiers: [{ | ||
id: 'did:myMethod:implementation:verifier:id', | ||
endpoint: `${baseUrl}/credentials/verify` | ||
}] | ||
}] | ||
}; |