Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
vmidyllic committed Mar 1, 2024
1 parent 68239ec commit 8cf38b4
Show file tree
Hide file tree
Showing 23 changed files with 105 additions and 122 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"scripts": {
"clean": "rm -fR dist",
"build": "npm run clean && ./node_modules/.bin/tsc --strictNullChecks",
"test": "./node_modules/.bin/mocha --timeout 5000 -p -r ts-node/register 'test/**/*.test.ts'"
"test": "./node_modules/.bin/mocha --timeout 5000 -r ts-node/register 'test/**/*.test.ts'"
},
"license": "GPL-3.0",
"dependencies": {
Expand Down
56 changes: 27 additions & 29 deletions test/onchain/credentialAtomicQueryV3OnChain.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import {describe} from "mocha";
const path = require("path");
const wasmTester = require("circom_tester").wasm;

describe("Test credentialAtomicQueryV3OnChain.circom", function () {
describe.only("Test credentialAtomicQueryV3OnChain.circom", function () {

this.timeout(600000);

Expand All @@ -30,37 +30,35 @@ describe("Test credentialAtomicQueryV3OnChain.circom", function () {
const tests = [

// sig
require(`${sigBasePath}/claimIssuedOnProfileID.json`),
require(`${sigBasePath}/claimIssuedOnProfileID2.json`),
require(`${sigBasePath}/claimIssuedOnUserID.json`),
require(`${sigBasePath}/profileID_subject_userid.json`),
require(`${sigBasePath}/claimNonMerklized.json`),
require(`${sigBasePath}/claimWithLinkNonce.json`),
require(`${sigBasePath}/between_operator.json`),
require(`${sigBasePath}/less_than_eq_operator.json`),
require(`${sigBasePath}/selective_disclosure.json`),
require(`${sigBasePath}/nullify.json`),
require(`${sigBasePath}/revoked_claim_without_revocation_check.json`),
require(`${sigBasePath}/jsonld_non_inclusion.json`),
require(`${sigBasePath}/auth_check_disabled.json`),
require(`${sigBasePath}/noop_operator.json`),
// require(`${sigBasePath}/claimIssuedOnProfileID.json`),
// require(`${sigBasePath}/claimIssuedOnProfileID2.json`),
// require(`${sigBasePath}/claimIssuedOnUserID.json`),
// require(`${sigBasePath}/profileID_subject_userid.json`),
// require(`${sigBasePath}/claimNonMerklized.json`),
// require(`${sigBasePath}/claimWithLinkNonce.json`),
// require(`${sigBasePath}/between_operator.json`),
// require(`${sigBasePath}/less_than_eq_operator.json`),
// require(`${sigBasePath}/selective_disclosure.json`),
// require(`${sigBasePath}/nullify.json`),
// require(`${sigBasePath}/revoked_claim_without_revocation_check.json`),
// require(`${sigBasePath}/jsonld_non_inclusion.json`),
// require(`${sigBasePath}/noop_operator.json`),
require(`${sigBasePath}/onchainIdentity.json`),

// mtp
require(`${mtpBasePath}/claimIssuedOnProfileID.json`),
require(`${mtpBasePath}/claimIssuedOnProfileID2.json`),
require(`${mtpBasePath}/claimIssuedOnUserID.json`),
require(`${mtpBasePath}/profileID_subject_userid.json`),
require(`${mtpBasePath}/claimNonMerklized.json`),
require(`${mtpBasePath}/claimWithLinkNonce.json`),
require(`${mtpBasePath}/between_operator.json`),
require(`${mtpBasePath}/less_than_eq_operator.json`),
require(`${mtpBasePath}/selective_disclosure.json`),
require(`${mtpBasePath}/nullify.json`),
require(`${mtpBasePath}/revoked_claim_without_revocation_check.json`),
require(`${mtpBasePath}/auth_check_disabled.json`),
require(`${mtpBasePath}/noop_operator.json`),
require(`${mtpBasePath}/onchainIdentity.json`),
// require(`${mtpBasePath}/claimIssuedOnProfileID.json`),
// require(`${mtpBasePath}/claimIssuedOnProfileID2.json`),
// require(`${mtpBasePath}/claimIssuedOnUserID.json`),
// require(`${mtpBasePath}/profileID_subject_userid.json`),
// require(`${mtpBasePath}/claimNonMerklized.json`),
// require(`${mtpBasePath}/claimWithLinkNonce.json`),
// require(`${mtpBasePath}/between_operator.json`),
// require(`${mtpBasePath}/less_than_eq_operator.json`),
// require(`${mtpBasePath}/selective_disclosure.json`),
// require(`${mtpBasePath}/nullify.json`),
// require(`${mtpBasePath}/revoked_claim_without_revocation_check.json`),
// require(`${mtpBasePath}/noop_operator.json`),
// require(`${mtpBasePath}/onchainIdentity.json`),
];

tests.forEach(({ desc, inputs, expOut }) => {
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Loading

0 comments on commit 8cf38b4

Please sign in to comment.