Skip to content

Commit 1fdd33b

Browse files
committed
add dockerfile and dependencies
Signed-off-by: PatStLouis <[email protected]>
1 parent 29d38ca commit 1fdd33b

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed

Dockerfile

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
FROM node:18
2+
3+
WORKDIR /test-suite
4+
5+
COPY package.json ./
6+
COPY tests/ ./tests
7+
8+
RUN npm i
9+
CMD [ "npm", "t" ]

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
"type": "module",
77
"scripts": {
88
"test": "mocha tests --reporter @digitalbazaar/mocha-w3c-interop-reporter --reporter-options abstract=\"$PWD/abstract.hbs\",reportDir=\"$PWD/reports\",respec=\"$PWD/respecConfig.json\",suiteLog='./suite.log',templateData=\"$PWD/reports/index.json\",title=\"VC Bitstring Status List Interoperability Report 1.0\" --timeout 15000 --preserve-symlinks",
9+
"test-allure": "npx mocha tests/ -R allure-mocha -O 'resultsDir=allure-results'",
910
"lint": "eslint ."
1011
},
1112
"repository": {
@@ -42,11 +43,12 @@
4243
"vc-test-suite-implementations": "github:w3c/vc-test-suite-implementations"
4344
},
4445
"devDependencies": {
46+
"allure-mocha": "^3.0.6",
4547
"eslint": "^8.54.0",
4648
"eslint-config-digitalbazaar": "^5.0.1",
4749
"eslint-plugin-jsdoc": "^46.9.0",
4850
"eslint-plugin-unicorn": "^49.0.0",
49-
"mocha": "^10.7.3"
51+
"mocha": "^10.8.2"
5052
},
5153
"bugs": {
5254
"url": "https://github.com/w3c/vc-bitstring-status-list-test-suite/issues"

0 commit comments

Comments
 (0)