Skip to content

Commit

Permalink
Ignore localConfig & add example config.
Browse files Browse the repository at this point in the history
  • Loading branch information
aljones15 committed May 31, 2024
1 parent 72ce93f commit ecb9a84
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,4 @@ reports/**
credentials/*.json
.vscode
.localImplementationsConfig.cjs
localConfig.cjs
32 changes: 32 additions & 0 deletions localConfig.example.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
/*!
* Copyright (c) 2022-2024 Digital Bazaar, Inc.
* SPDX-License-Identifier: BSD-3-Clause
*/
// 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:34557';

module.exports = {
settings: {
enableInteropTests: false, // default
testAllImplementations: false // default
},
implementations: [{
name: 'My Company',
implementation: 'My Implementation Name',
issuers: [{
id: 'did:myMethod:implementation:issuer:id',
endpoint: `${baseUrl}/credentials/issue`,
supports: {
vc: ['1.1', '2.0']
},
tags: ['Ed25519Signature2020', 'localhost']
}],
verifiers: [{
id: 'did:myMethod:implementation:verifier:id',
endpoint: `${baseUrl}/credentials/verify`,
tags: ['Ed25519Signature2020', 'localhost']
}]
}]
};

0 comments on commit ecb9a84

Please sign in to comment.