From 006f868e716cd5ea56c5212d361965728c09e044 Mon Sep 17 00:00:00 2001 From: Mirko Mollik Date: Wed, 28 Feb 2024 14:43:11 +0100 Subject: [PATCH] chore: fix test call Signed-off-by: Mirko Mollik --- packages/core/package.json | 5 ++--- packages/core/test/app-e2e.spec.ts | 4 ++-- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/packages/core/package.json b/packages/core/package.json index 73dddfc6..ba64f66c 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -14,10 +14,9 @@ "scripts": { "build": "rm -rf **/dist && tsup", "lint": "biome lint ./src", - "test": "pnpm run test:node && pnpm run test:browser && pnpm run test:e2e && pnpm run test:cov", - "test:node": "vitest run ./src/test/*.spec.ts && vitest run ./src/test/*.spec.ts --environment jsdom", + "test": "pnpm run test:node && pnpm run test:browser && pnpm run test:cov", + "test:node": "vitest run ./src/test/*.spec.ts", "test:browser": "vitest run ./src/test/*.spec.ts --environment jsdom", - "test:e2e": "vitest run ./test/*e2e.spec.ts --environment node", "test:cov": "vitest run --coverage" }, "keywords": [ diff --git a/packages/core/test/app-e2e.spec.ts b/packages/core/test/app-e2e.spec.ts index 653522a3..1734870f 100644 --- a/packages/core/test/app-e2e.spec.ts +++ b/packages/core/test/app-e2e.spec.ts @@ -209,7 +209,7 @@ async function JSONtest(filename: string) { expect(validated).toBeDefined(); expect(validated).toStrictEqual({ - header: { alg: 'EdDSA', typ: 'sd-jwt' }, + header: { alg: 'EdDSA' }, payload: test.claims, }); @@ -228,7 +228,7 @@ async function JSONtest(filename: string) { expect(verified).toBeDefined(); expect(verified).toStrictEqual({ - header: { alg: 'EdDSA', typ: 'sd-jwt' }, + header: { alg: 'EdDSA' }, payload: test.claims, }); }