diff --git a/README.md b/README.md index b1e5679..8929163 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,5 @@ # vc-api-issuer-test-suite + Test Suite for Issuers that implement the VC HTTP API ## Table of Contents @@ -27,6 +28,12 @@ npm test ## Implementation -To add your implementation to this test suite see the [README here.](https://github.com/w3c-ccg/vc-api-test-suite-implementations) -Add the tag `vc-api` to the issuers and verifiers you want tested. To run the tests, some implementations require client secrets -that can be passed as env variables to the test script. To see which ones require client secrets, you can check the [vc-api-test-suite-implementations](https://github.com/w3c-ccg/vc-api-test-suite-implementations) library. + +To add your implementation to this test suite see the +`w3c-ccg/vc-test-suite-implementations` [README](https://github.com/w3c-ccg/vc-test-suite-implementations/blob/main/README.md). Add the tag `vc-api` to the issuers you want +to run the tests against. + +Note: To run the tests, some implementations require client secrets that can be +passed as env variables to the test script. To see which ones require client +secrets, you can check configs in the `w3c-ccg/vc-test-suite-implementations` +repo. diff --git a/package.json b/package.json index fbcec39..08b0156 100644 --- a/package.json +++ b/package.json @@ -38,7 +38,7 @@ "klona": "^2.0.5", "mocha": "^10.0.0", "uuid": "^8.3.2", - "vc-api-test-suite-implementations": "github:w3c-ccg/vc-api-test-suite-implementations" + "vc-test-suite-implementations": "github:w3c-ccg/vc-test-suite-implementations#rename-package" }, "devDependencies": { "eslint": "^8.54.0", diff --git a/tests/10-issuer.js b/tests/10-issuer.js index 5bb4dd5..3c69ccf 100644 --- a/tests/10-issuer.js +++ b/tests/10-issuer.js @@ -8,7 +8,7 @@ import { shouldThrowInvalidInput } from './assertions.js'; import chai from 'chai'; -import {filterByTag} from 'vc-api-test-suite-implementations'; +import {filterByTag} from 'vc-test-suite-implementations'; const should = chai.should(); const tag = 'vc-api'; diff --git a/tests/11-issuer-jwt.js b/tests/11-issuer-jwt.js index 4c3d29b..c76bc15 100644 --- a/tests/11-issuer-jwt.js +++ b/tests/11-issuer-jwt.js @@ -4,7 +4,7 @@ import {shouldBeIssuedVc, shouldThrowInvalidInput} from './assertions.js'; import chai from 'chai'; import {createRequestBody} from './mock.data.js'; -import {filterByTag} from 'vc-api-test-suite-implementations'; +import {filterByTag} from 'vc-test-suite-implementations'; const should = chai.should();