Skip to content

Commit d497a0a

Browse files
committed
use camelCase
Signed-off-by: PatStLouis <[email protected]>
1 parent 4d4aefd commit d497a0a

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

tests/413.2-envelopes.js

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -26,17 +26,17 @@ describe('VP - Enveloped Verifiable Credentials', function() {
2626
setupMatrix.call(this, match);
2727
for(const [name, implementation] of match) {
2828
const endpoints = new TestEndpoints({implementation, tag});
29-
const issuer_envelope_support =
29+
const issuerEnvelopeSupport =
3030
endpoints.issuer.settings.tags.includes(
3131
'EnvelopingProof');
32-
const vpVerifier_envelope_support =
32+
const vpVerifierEnvelopeSupport =
3333
endpoints.vpVerifier.settings.tags.includes(
3434
'EnvelopingProof');
3535

3636
describe(name, function() {
3737
let issuedVc;
3838
before(async function() {
39-
if(issuer_envelope_support) {
39+
if(issuerEnvelopeSupport) {
4040
try {
4141
issuedVc = await endpoints.issue(require(
4242
'./input/credential-ok.json'));
@@ -58,7 +58,7 @@ describe('VP - Enveloped Verifiable Credentials', function() {
5858
'terms as defined by the base context provided by this specification.',
5959
async function() {
6060
this.test.link = `https://w3c.github.io/vc-data-model/#enveloped-verifiable-credentials:~:text=The%20%40context%20property%20of%20the%20object%20MUST%20be%20present%20and%20include%20a%20context%2C%20such%20as%20the%20base%20context%20for%20this%20specification%2C%20that%20defines%20at%20least%20the%20id%2C%20type%2C%20and%20EnvelopedVerifiableCredential%20terms%20as%20defined%20by%20the%20base%20context%20provided%20by%20this%20specification.`;
61-
if(!vpVerifier_envelope_support) {
61+
if(!vpVerifierEnvelopeSupport) {
6262
this.test.cell.skipMessage = 'No envelope support.';
6363
this.skip();
6464
} else {
@@ -78,7 +78,7 @@ describe('VP - Enveloped Verifiable Credentials', function() {
7878
'security scheme, such as Securing Verifiable Credentials using JOSE ' +
7979
'and COSE [VC-JOSE-COSE].', async function() {
8080
this.test.link = `https://w3c.github.io/vc-data-model/#enveloped-verifiable-credentials:~:text=The%20id%20value%20of%20the%20object%20MUST%20be%20a%20data%3A%20URL%20%5BRFC2397%5D%20that%20expresses%20a%20secured%20verifiable%20credential%20using%20an%20enveloping%20security%20scheme%2C%20such%20as%20Securing%20Verifiable%20Credentials%20using%20JOSE%20and%20COSE%20%5BVC%2DJOSE%2DCOSE%5D.`;
81-
if(!issuer_envelope_support) {
81+
if(!issuerEnvelopeSupport) {
8282
this.test.cell.skipMessage = 'No envelope support.';
8383
this.skip();
8484
} else {
@@ -93,7 +93,7 @@ describe('VP - Enveloped Verifiable Credentials', function() {
9393
it('The type value of the object MUST be EnvelopedVerifiableCredential.',
9494
async function() {
9595
this.test.link = `https://w3c.github.io/vc-data-model/#enveloped-verifiable-credentials:~:text=The%20type%20value%20of%20the%20object%20MUST%20be%20EnvelopedVerifiableCredential.`;
96-
if(!issuer_envelope_support) {
96+
if(!issuerEnvelopeSupport) {
9797
this.test.cell.skipMessage = 'No envelope support.';
9898
this.skip();
9999
} else {
@@ -111,7 +111,7 @@ describe('VP - Enveloped Verifiable Presentations', function() {
111111
setupMatrix.call(this, match);
112112
for(const [name, implementation] of match) {
113113
const endpoints = new TestEndpoints({implementation, tag});
114-
const vpVerifier_envelope_support =
114+
const vpVerifierEnvelopeSupport =
115115
endpoints.vpVerifier.settings.tags.includes(
116116
'EnvelopingProof');
117117

@@ -124,7 +124,7 @@ describe('VP - Enveloped Verifiable Presentations', function() {
124124
'terms as defined by the base context provided by this specification.',
125125
async function() {
126126
this.test.link = `https://w3c.github.io/vc-data-model/#enveloped-verifiable-presentations:~:text=The%20%40context%20property%20of%20the%20object%20MUST%20be%20present%20and%20include%20a%20context%2C%20such%20as%20the%20base%20context%20for%20this%20specification%2C%20that%20defines%20at%20least%20the%20id%2C%20type%2C%20and%20EnvelopedVerifiablePresentation%20terms%20as%20defined%20by%20the%20base%20context%20provided%20by%20this%20specification.`;
127-
if(!vpVerifier_envelope_support) {
127+
if(!vpVerifierEnvelopeSupport) {
128128
this.test.cell.skipMessage = 'No envelope support.';
129129
this.skip();
130130
} else {
@@ -141,7 +141,7 @@ describe('VP - Enveloped Verifiable Presentations', function() {
141141
'securing mechanism, such as Securing Verifiable Credentials using ' +
142142
'JOSE and COSE [VC-JOSE-COSE].', async function() {
143143
this.test.link = `https://w3c.github.io/vc-data-model/#enveloped-verifiable-presentations:~:text=The%20id%20value%20of%20the%20object%20MUST%20be%20a%20data%3A%20URL%20%5BRFC2397%5D%20that%20expresses%20a%20secured%20verifiable%20presentation%20using%20an%20enveloping%20securing%20mechanism%2C%20such%20as%20Securing%20Verifiable%20Credentials%20using%20JOSE%20and%20COSE%20%5BVC%2DJOSE%2DCOSE%5D.`;
144-
if(!vpVerifier_envelope_support) {
144+
if(!vpVerifierEnvelopeSupport) {
145145
this.test.cell.skipMessage = 'No envelope support.';
146146
this.skip();
147147
} else {
@@ -156,7 +156,7 @@ describe('VP - Enveloped Verifiable Presentations', function() {
156156
it('The type value of the object MUST be ' +
157157
'EnvelopedVerifiablePresentation.', async function() {
158158
this.test.link = `https://w3c.github.io/vc-data-model/#enveloped-verifiable-presentations:~:text=The%20type%20value%20of%20the%20object%20MUST%20be%20EnvelopedVerifiablePresentation.`;
159-
if(!vpVerifier_envelope_support) {
159+
if(!vpVerifierEnvelopeSupport) {
160160
this.test.cell.skipMessage = 'No envelope support.';
161161
this.skip();
162162
} else {

0 commit comments

Comments
 (0)