From 46655b6553aad81bec2957f59a52f8af43de9aef Mon Sep 17 00:00:00 2001 From: Dimasik Kolezhniuk Date: Thu, 28 Mar 2024 18:51:45 +0100 Subject: [PATCH] Fix comment --- .github/workflows/ci.yaml | 2 +- package.json | 3 ++- tests/did.test.ts | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 5be3cf9..d5d877e 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -35,7 +35,7 @@ jobs: run: npm ci - name: Run Prettier - run: npm run format + run: npm run format:check - name: Run ESLint run: npm run lint diff --git a/package.json b/package.json index a7e1dc5..9cfc053 100644 --- a/package.json +++ b/package.json @@ -31,7 +31,8 @@ "test": "jest", "test:watch": "jest --watch", "lint": "eslint --fix --ext .ts src/** tests/**", - "format": "prettier --config .prettierrc './**/*.ts' --write" + "format": "prettier --config .prettierrc './**/*.ts' --write", + "format:check": "prettier --config .prettierrc './**/*.ts' --check" }, "release": { "branches": [ diff --git a/tests/did.test.ts b/tests/did.test.ts index 195830d..d47f289 100644 --- a/tests/did.test.ts +++ b/tests/did.test.ts @@ -135,7 +135,7 @@ describe('DID tests', () => { wantDID: 'did:polygonid:zkevm:test:2wcMpvr8NgWTfqN6ChaFEx1qRnLREXhjeoJ45pFyw5' }, { - title: 'Polygon | zkEVM chain, test', + title: 'Polygon chain, Amoy', method: DidMethod.PolygonId, chain: Blockchain.Polygon, net: NetworkId.Amoy,