Skip to content

Commit

Permalink
test:aries => test
Browse files Browse the repository at this point in the history
  • Loading branch information
Pascal Heitz committed Dec 10, 2020
1 parent 3f3eb2f commit 0d36584
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 12 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -644,7 +644,7 @@ jobs:
cd $HOME/wrappers/node && \
npm install && \
npm run compile && \
npm run test:aries)'
npm run test)'
# TODO: Run in parallel once https://github.com/actions/runner/issues/646 is ready
test-integration-node-wrapper:
Expand Down
21 changes: 10 additions & 11 deletions wrappers/node/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -69,17 +69,16 @@
"lint:js": "standard demo/**.js common/**.js client-vcx/**.js",
"lint:js:fix": "standard --fix demo/*.js common/*.js client-vcx/*.js",
"doc-gen": "./node_modules/.bin/typedoc --out doc --excludePrivate --excludeProtected --ignoreCompilerErrors src",
"test": "npm run test:aries && run test:ffi && npm run test:logging",
"test:aries": "npm run test:aries:connection && npm run test:aries:credentialDef && npm run test:aries:credential && npm run test:aries:disclosedProof && npm run test:aries:issuerCredential && npm run test:aries:proof && npm run test:aries:schema && npm run test:aries:utils && npm run test:aries:wallet && npm run test:ffi && npm run test:logging",
"test:aries:connection": " TS_NODE_PROJECT=./test/tsconfig.json NODE_ENV=test RUST_BACKTRACE=full ./node_modules/.bin/mocha --timeout 10000 --expose-gc --recursive --use_strict --require ts-node/register ./test/suite1/ariesvcx-connection.test.ts",
"test:aries:credentialDef": " TS_NODE_PROJECT=./test/tsconfig.json NODE_ENV=test RUST_BACKTRACE=full ./node_modules/.bin/mocha --timeout 10000 --expose-gc --recursive --use_strict --require ts-node/register ./test/suite1/ariesvcx-credential-def.test.ts",
"test:aries:credential": " TS_NODE_PROJECT=./test/tsconfig.json NODE_ENV=test RUST_BACKTRACE=full ./node_modules/.bin/mocha --timeout 10000 --expose-gc --recursive --use_strict --require ts-node/register ./test/suite1/ariesvcx-credential.test.ts",
"test:aries:disclosedProof": " TS_NODE_PROJECT=./test/tsconfig.json NODE_ENV=test RUST_BACKTRACE=full ./node_modules/.bin/mocha --timeout 10000 --expose-gc --recursive --use_strict --require ts-node/register ./test/suite1/ariesvcx-disclosed-proof.test.ts",
"test:aries:issuerCredential": "TS_NODE_PROJECT=./test/tsconfig.json NODE_ENV=test RUST_BACKTRACE=full ./node_modules/.bin/mocha --timeout 10000 --expose-gc --recursive --use_strict --require ts-node/register ./test/suite1/ariesvcx-issuer-credential.test.ts",
"test:aries:proof": " TS_NODE_PROJECT=./test/tsconfig.json NODE_ENV=test RUST_BACKTRACE=full ./node_modules/.bin/mocha --timeout 10000 --expose-gc --recursive --use_strict --require ts-node/register ./test/suite1/ariesvcx-proof.test.ts",
"test:aries:schema": " TS_NODE_PROJECT=./test/tsconfig.json NODE_ENV=test RUST_BACKTRACE=full ./node_modules/.bin/mocha --timeout 10000 --expose-gc --recursive --use_strict --require ts-node/register ./test/suite1/ariesvcx-schema.test.ts",
"test:aries:utils": " TS_NODE_PROJECT=./test/tsconfig.json NODE_ENV=test RUST_BACKTRACE=full ./node_modules/.bin/mocha --timeout 10000 --expose-gc --recursive --use_strict --require ts-node/register ./test/suite1/ariesvcx-utils.test.ts",
"test:aries:wallet": " TS_NODE_PROJECT=./test/tsconfig.json NODE_ENV=test RUST_BACKTRACE=full ./node_modules/.bin/mocha --timeout 10000 --expose-gc --recursive --use_strict --require ts-node/register ./test/suite1/ariesvcx-wallet.test.ts",
"test": "npm run test:connection && npm run test:credentialDef && npm run test:credential && npm run test:disclosedProof && npm run test:issuerCredential && npm run test:proof && npm run test:schema && npm run test:utils && npm run test:wallet && npm run test:ffi && npm run test:logging",
"test:connection": " TS_NODE_PROJECT=./test/tsconfig.json NODE_ENV=test RUST_BACKTRACE=full ./node_modules/.bin/mocha --timeout 10000 --expose-gc --recursive --use_strict --require ts-node/register ./test/suite1/ariesvcx-connection.test.ts",
"test:credentialDef": " TS_NODE_PROJECT=./test/tsconfig.json NODE_ENV=test RUST_BACKTRACE=full ./node_modules/.bin/mocha --timeout 10000 --expose-gc --recursive --use_strict --require ts-node/register ./test/suite1/ariesvcx-credential-def.test.ts",
"test:credential": " TS_NODE_PROJECT=./test/tsconfig.json NODE_ENV=test RUST_BACKTRACE=full ./node_modules/.bin/mocha --timeout 10000 --expose-gc --recursive --use_strict --require ts-node/register ./test/suite1/ariesvcx-credential.test.ts",
"test:disclosedProof": " TS_NODE_PROJECT=./test/tsconfig.json NODE_ENV=test RUST_BACKTRACE=full ./node_modules/.bin/mocha --timeout 10000 --expose-gc --recursive --use_strict --require ts-node/register ./test/suite1/ariesvcx-disclosed-proof.test.ts",
"test:issuerCredential": "TS_NODE_PROJECT=./test/tsconfig.json NODE_ENV=test RUST_BACKTRACE=full ./node_modules/.bin/mocha --timeout 10000 --expose-gc --recursive --use_strict --require ts-node/register ./test/suite1/ariesvcx-issuer-credential.test.ts",
"test:proof": " TS_NODE_PROJECT=./test/tsconfig.json NODE_ENV=test RUST_BACKTRACE=full ./node_modules/.bin/mocha --timeout 10000 --expose-gc --recursive --use_strict --require ts-node/register ./test/suite1/ariesvcx-proof.test.ts",
"test:schema": " TS_NODE_PROJECT=./test/tsconfig.json NODE_ENV=test RUST_BACKTRACE=full ./node_modules/.bin/mocha --timeout 10000 --expose-gc --recursive --use_strict --require ts-node/register ./test/suite1/ariesvcx-schema.test.ts",
"test:utils": " TS_NODE_PROJECT=./test/tsconfig.json NODE_ENV=test RUST_BACKTRACE=full ./node_modules/.bin/mocha --timeout 10000 --expose-gc --recursive --use_strict --require ts-node/register ./test/suite1/ariesvcx-utils.test.ts",
"test:wallet": " TS_NODE_PROJECT=./test/tsconfig.json NODE_ENV=test RUST_BACKTRACE=full ./node_modules/.bin/mocha --timeout 10000 --expose-gc --recursive --use_strict --require ts-node/register ./test/suite1/ariesvcx-wallet.test.ts",
"test:ffi": " TS_NODE_PROJECT=./test/tsconfig.json NODE_ENV=test RUST_BACKTRACE=full ./node_modules/.bin/mocha --timeout 10000 --expose-gc --recursive --use_strict --require ts-node/register ./test/suite2/ffi.test.ts",
"test:logging": " TS_NODE_PROJECT=./test/tsconfig.json NODE_ENV=test find ./test/suite3 -name '*.test.ts' -exec ./node_modules/.bin/mocha --timeout 10000 --expose-gc --recursive --use_strict --require ts-node/register \\{} \\;",
"test:logging1": " TS_NODE_PROJECT=./test/tsconfig.json NODE_ENV=test RUST_BACKTRACE=full ./node_modules/.bin/mocha --timeout 10000 --expose-gc --recursive --use_strict --require ts-node/register ./test/suite3/logging.1.test.ts",
Expand Down

0 comments on commit 0d36584

Please sign in to comment.