Skip to content

Commit

Permalink
remove unused vars
Browse files Browse the repository at this point in the history
Signed-off-by: PatStLouis <[email protected]>
  • Loading branch information
PatStLouis committed Oct 30, 2024
1 parent ab83c0e commit 9f27a7d
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 26 deletions.
4 changes: 2 additions & 2 deletions tests/70-data-model.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ describe('Data Model- Verification Methods (Multikey)', function() {
const credentials = await generateTestData();
validVc = credentials.clone('validVc');
});
for(const [columnId, {endpoints, implementation}] of match) {
for(const [columnId, {endpoints}] of match) {
describe(columnId, function() {
const [issuer] = endpoints;
let issuedVc;
Expand Down Expand Up @@ -106,7 +106,7 @@ describe('Data Model- Proof Representations (DataIntegrityProof)', function() {
const credentials = await generateTestData();
validVc = credentials.clone('validVc');
});
for(const [columnId, {endpoints, implementation}] of match) {
for(const [columnId, {endpoints}] of match) {
describe(columnId, function() {
const [issuer] = endpoints;
let issuedVc;
Expand Down
15 changes: 3 additions & 12 deletions tests/80-algorithms-jcs.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,9 @@ describe('Algorithms - Transformation (eddsa-jcs-2022)', function() {
const credentials = await generateTestData();
validVc = credentials.clone('validVc');
});
for(const [columnId, {endpoints, implementation}] of match) {
for(const [columnId, {endpoints}] of match) {
describe(columnId, function() {
const [issuer] = endpoints;
const verifier = implementation.verifiers.find(
// FIXME use Set's isSubsetOf in the future
v => tags.every(tag => v.tags.has(tag)));
let issuedVc;
let proofs;
let eddsa2022Proofs;
Expand Down Expand Up @@ -107,12 +104,9 @@ describe('Algorithms - Proof Configuration (eddsa-jcs-2022)', function() {
const credentials = await generateTestData();
validVc = credentials.clone('validVc');
});
for(const [columnId, {endpoints, implementation}] of match) {
for(const [columnId, {endpoints}] of match) {
describe(columnId, function() {
const [issuer] = endpoints;
const verifier = implementation.verifiers.find(
// FIXME use Set's isSubsetOf in the future
v => tags.every(tag => v.tags.has(tag)));
let issuedVc;
let proofs;
let eddsa2022Proofs;
Expand Down Expand Up @@ -181,12 +175,9 @@ describe('Algorithms - Proof Serialization (eddsa-jcs-2022)', function() {
const credentials = await generateTestData();
validVc = credentials.clone('validVc');
});
for(const [columnId, {endpoints, implementation}] of match) {
for(const [columnId, {endpoints}] of match) {
describe(columnId, function() {
const [issuer] = endpoints;
const verifier = implementation.verifiers.find(
// FIXME use Set's isSubsetOf in the future
v => tags.every(tag => v.tags.has(tag)));
let issuedVc;
let proofs;
let eddsa2022Proofs;
Expand Down
15 changes: 3 additions & 12 deletions tests/80-algorithms-rdfc.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,9 @@ describe('Algorithms - Transformation (eddsa-rdfc-2022)', function() {
const credentials = await generateTestData();
validVc = credentials.clone('validVc');
});
for(const [columnId, {endpoints, implementation}] of match) {
for(const [columnId, {endpoints}] of match) {
describe(columnId, function() {
const [issuer] = endpoints;
const verifier = implementation.verifiers.find(
// FIXME use Set's isSubsetOf in the future
v => tags.every(tag => v.tags.has(tag)));
let issuedVc;
let proofs;
let eddsa2022Proofs;
Expand Down Expand Up @@ -110,12 +107,9 @@ describe('Algorithms - Proof Configuration (eddsa-rdfc-2022)', function() {
const credentials = await generateTestData();
validVc = credentials.clone('validVc');
});
for(const [columnId, {endpoints, implementation}] of match) {
for(const [columnId, {endpoints}] of match) {
describe(columnId, function() {
const [issuer] = endpoints;
const verifier = implementation.verifiers.find(
// FIXME use Set's isSubsetOf in the future
v => tags.every(tag => v.tags.has(tag)));
let issuedVc;
let proofs;
let eddsa2022Proofs;
Expand Down Expand Up @@ -187,12 +181,9 @@ describe('Algorithms - Proof Serialization (eddsa-rdfc-2022)', function() {
const credentials = await generateTestData();
validVc = credentials.clone('validVc');
});
for(const [columnId, {endpoints, implementation}] of match) {
for(const [columnId, {endpoints}] of match) {
describe(columnId, function() {
const [issuer] = endpoints;
const verifier = implementation.verifiers.find(
// FIXME use Set's isSubsetOf in the future
v => tags.every(tag => v.tags.has(tag)));
let issuedVc;
let proofs;
let eddsa2022Proofs;
Expand Down

0 comments on commit 9f27a7d

Please sign in to comment.