Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
daveroga committed Sep 16, 2024
1 parent b6ab088 commit 57110d1
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
2 changes: 2 additions & 0 deletions src/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,8 @@ export const NetworkId: { [k: string]: string } = {
Amoy: 'amoy',
Goerli: 'goerli',
Sepolia: 'sepolia',
Zkevm: 'zkevm',
Cardona: 'cardona',

Check warning on line 62 in src/constants.ts

View workflow job for this annotation

GitHub Actions / build

Unknown word: "Cardona"

Check warning on line 62 in src/constants.ts

View workflow job for this annotation

GitHub Actions / build

Unknown word: "cardona"
Test: 'test',
Unknown: 'unknown',
NoNetwork: ''
Expand Down
12 changes: 6 additions & 6 deletions tests/did.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -135,16 +135,16 @@ describe('DID tests', () => {
{
title: 'Polygon | zkEVM chain, main',
method: DidMethod.PolygonId,
chain: Blockchain.ZkEVM,
net: NetworkId.Main,
wantDID: 'did:polygonid:zkevm:main:2wQjmkL1SsgqC7AuZdUcaXsUVfEi1i58VEhm3r2r8F'
chain: Blockchain.Polygon,
net: NetworkId.Zkevm,
wantDID: 'did:polygonid:polygon:zkevm:2wQjmkL1SsgqC7AuZdUcaXsUVfEi1i58VEhm3r2r8F'
},
{
title: 'Polygon | zkEVM chain, test',
method: DidMethod.PolygonId,
chain: Blockchain.ZkEVM,
net: NetworkId.Test,
wantDID: 'did:polygonid:zkevm:test:2wcMpvr8NgWTfqN6ChaFEx1qRnLREXhjeoJ45pFyw5'
chain: Blockchain.Polygon,
net: NetworkId.Cardona,
wantDID: 'did:polygonid:polygon:cardona:2wcMpvr8NgWTfqN6ChaFEx1qRnLREXhjeoJ45pFyw5'

Check warning on line 147 in tests/did.test.ts

View workflow job for this annotation

GitHub Actions / build

Unknown word: "cardona"
},
{
title: 'Polygon chain, Amoy',
Expand Down

0 comments on commit 57110d1

Please sign in to comment.