Skip to content

Commit f28ce63

Browse files
committed
test: adapt datumGateway jose test to v6 API
jose v6 removes the KeyLike type; keys are now Web Crypto CryptoKey. Update the auth module test's key type annotation accordingly. The runtime provider uses only APIs retained in v6 (createRemoteJWKSet, jwtVerify) and needs no change. Claude-Session: https://claude.ai/code/session_01NMSkwUcaTmZr7S5XmV2aFG
1 parent b138ea9 commit f28ce63

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/backend/src/modules/authModuleDatumGatewayProvider.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ const AUDIENCE = 'test-client-id.apps.googleusercontent.com';
1313
const HEADER = 'x-auth-request-id-token';
1414
const KID = 'test-key';
1515

16-
let privateKey: jose.KeyLike;
16+
let privateKey: CryptoKey;
1717

1818
const reqWith = (token?: string): Request =>
1919
({

0 commit comments

Comments
 (0)