Skip to content

Commit

Permalink
chore: fix test call
Browse files Browse the repository at this point in the history
Signed-off-by: Mirko Mollik <mirko.mollik@fit.fraunhofer.de>
  • Loading branch information
cre8 committed Feb 28, 2024
1 parent 9de7902 commit 006f868
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
5 changes: 2 additions & 3 deletions packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": [
Expand Down
4 changes: 2 additions & 2 deletions packages/core/test/app-e2e.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
});

Expand All @@ -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,
});
}
Expand Down

0 comments on commit 006f868

Please sign in to comment.