-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
26 additions
and
0 deletions.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,3 +2,4 @@ node_modules | |
coverage | ||
dist | ||
src/__generated__ | ||
vc-test-suite |
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 |
---|---|---|
|
@@ -7,3 +7,4 @@ yarn.lock | |
/.idea | ||
*.iml | ||
/public | ||
/vc-test-suite |
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,17 @@ | ||
#!/usr/bin/env sh | ||
|
||
vc_path=vc-test-suite | ||
|
||
echo "clean vc-test-suite" | ||
rm -rf $vc_path | ||
echo "clone vc-test-suite repo" | ||
git clone --depth 1 https://github.com/w3c/vc-test-suite.git $vc_path | ||
echo "copy configuration into $vc_path" | ||
cp ./vc-test-suite-config.json $vc_path/config.json | ||
cd $vc_path || exit 1 | ||
echo "Install dependencies" | ||
npm i | ||
echo "Install open-attestation-cli" | ||
npm i @govtechsg/open-attestation-cli | ||
npm run test -- --timeout 12000 | ||
|
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,6 @@ | ||
{ | ||
"generator": "./node_modules/.bin/open-attestation wrap", | ||
"presentationGenerator": "/bin/cat", | ||
"generatorOptions": "--document-store 0xabcd --template-url https://some.org --dns-txt example.com --oav3 true --silent true", | ||
"sectionsNotSupported": ["ldp", "jwt", "zkp"] | ||
} |