Skip to content

MatrixClient.login no longer stashes the returned access token #10767

MatrixClient.login no longer stashes the returned access token

MatrixClient.login no longer stashes the returned access token #10767

Triggered via pull request January 17, 2025 18:31
Status Failure
Total duration 2m 9s
Artifacts

tests.yml

on: pull_request
Matrix: Downstream test element-web / Jest
Waiting for pending jobs
Matrix: jest
Run Complement Crypto tests  /  tests
Run Complement Crypto tests / tests
Downstream test element-web  /  jest-tests
Downstream test element-web / jest-tests
Jest tests
0s
Jest tests
Downstream Complement Crypto tests
0s
Downstream Complement Crypto tests
Downstream tests
3s
Downstream tests
Fit to window
Zoom out
Zoom in

Annotations

12 errors
Login request › should store "access_token" and "user_id" if in response: spec/unit/login.spec.ts#L31
expect(received).toBe(expected) // Object.is equality Expected: "194758a9139" Received: null at Object.toBe (spec/unit/login.spec.ts:31:48) at asyncGeneratorStep (node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:17) at _next (node_modules/@babel/runtime/helpers/asyncToGenerator.js:17:9)
Jest [unit] (Node 22)
Process completed with exit code 1.
Jest [unit] (Node lts/*)
The job was canceled because "unit_22" failed.
Login request › should store "access_token" and "user_id" if in response: spec/unit/login.spec.ts#L31
expect(received).toBe(expected) // Object.is equality Expected: "194758a9a0d" Received: null at Object.toBe (spec/unit/login.spec.ts:31:48) at asyncGeneratorStep (node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:17) at _next (node_modules/@babel/runtime/helpers/asyncToGenerator.js:17:9)
Jest [unit] (Node lts/*)
Process completed with exit code 1.
Jest [integ] (Node 22)
The job was canceled because "unit_22" failed.
MatrixClient › login › should persist values to the client opts: spec/integ/matrix-client-methods.spec.ts#L1488
expect(received).toBe(expected) // Object.is equality Expected: "@m:t" Received: "@alice:localhost" at Object.toBe (spec/integ/matrix-client-methods.spec.ts:1488:40) at asyncGeneratorStep (node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:17) at _next (node_modules/@babel/runtime/helpers/asyncToGenerator.js:17:9)
Jest [integ] (Node 22)
The operation was canceled.
Jest [integ] (Node lts/*)
The job was canceled because "unit_22" failed.
MatrixClient › login › should persist values to the client opts: spec/integ/matrix-client-methods.spec.ts#L1488
expect(received).toBe(expected) // Object.is equality Expected: "@m:t" Received: "@alice:localhost" at Object.toBe (spec/integ/matrix-client-methods.spec.ts:1488:40) at asyncGeneratorStep (node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:17) at _next (node_modules/@babel/runtime/helpers/asyncToGenerator.js:17:9)
Jest [integ] (Node lts/*)
The operation was canceled.
Jest tests
Process completed with exit code 1.