lastlogin for dev mode #1255
Annotations
7 errors and 1 warning
Run pnpm test:
functions/token.test.js#L43
AssertionError: expected 'id_token=***' to contain '__Host-id_token=***'
Expected: "__Host-id_token=***"
Received: "id_token=***; Max-Age=2592000; Path=/; Secure; SameSite=Strict"
❯ functions/token.test.js:43:20
|
Run pnpm test:
functions/token.test.js#L54
AssertionError: expected 'id_token=***' to contain '__Host-id_token=***'
Expected: "__Host-id_token=***"
Received: "id_token=***; Max-Age=0; Path=/; Secure; SameSite=Strict"
❯ functions/token.test.js:54:20
|
Run pnpm test:
functions/api/login.test.ts#L92
AssertionError: expected 'id_token=***' to match /__Host-id_to…/; Secure; SameSite=Strict
- Expected:
/__Host-id_token=[^;]+; Max-Age=2592000; Path=\/; Secure; SameSite=Strict/
+ Received:
"id_token=***; Max-Age=2592000; Path=/; Secure; SameSite=Strict"
❯ functions/api/login.test.ts:92:23
❯ Headers.forEach node_modules/.pnpm/[email protected]/node_modules/undici/lib/fetch/headers.js:538:18
❯ functions/api/login.test.ts:71:17
|
Run pnpm test:
functions/api/login.test.ts#L299
AssertionError: expected 'id_token=***' to match /__Host-id_to…/; Secure; SameSite=Strict
- Expected:
/__Host-id_token=[^;]+; Max-Age=2592000; Path=\/; Secure; SameSite=Strict/
+ Received:
"id_token=***; Max-Age=2592000; Path=/; Secure; SameSite=Strict"
❯ functions/api/login.test.ts:299:23
❯ Headers.forEach node_modules/.pnpm/[email protected]/node_modules/undici/lib/fetch/headers.js:538:18
❯ functions/api/login.test.ts:278:17
|
Run pnpm test:
functions/api/logout.test.ts#L80
AssertionError: expected 'id_token=***' to match /__Host-id_to…/; Secure; SameSite=Strict
- Expected:
/__Host-id_token=[^;]+; Max-Age=0; Path=\/; Secure; SameSite=Strict/
+ Received:
"id_token=***; Max-Age=0; Path=/; Secure; SameSite=Strict"
❯ functions/api/logout.test.ts:80:23
❯ Headers.forEach node_modules/.pnpm/[email protected]/node_modules/undici/lib/fetch/headers.js:538:18
❯ functions/api/logout.test.ts:70:17
|
Run pnpm test:
functions/api/logout.test.ts#L176
AssertionError: expected 'lastlogin_jwt=***' to match /id_token=[^;]+; Max-…/; SameSite=Strict
- Expected:
/id_token=[^;]+; Max-Age=0; Path=\/; SameSite=Strict/
+ Received:
"lastlogin_jwt=***; Max-Age=0; Path=/; SameSite=Strict"
❯ functions/api/logout.test.ts:176:23
❯ Headers.forEach node_modules/.pnpm/[email protected]/node_modules/undici/lib/fetch/headers.js:538:18
❯ functions/api/logout.test.ts:168:17
|
Run pnpm test
Process completed with exit code 1.
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Loading