Skip to content

fix(operators): request optim #64

fix(operators): request optim

fix(operators): request optim #64

Triggered via push January 8, 2025 22:38
Status Failure
Total duration 32s
Artifacts

feature.yml

on: push
Matrix: Install
Matrix: SonarCloud
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 11 warnings
src/retry.test.js > request retry > 2x error -> 1x success: packages/operators/src/retry.test.js#L12
AssertionError: expected [ { frame: +0, …(1) } ] to deeply equal [ { frame: 10, …(1) }, …(1) ] - Expected + Received Array [ Object { - "frame": 10, + "frame": 0, "notification": Object { - "error": undefined, - "kind": "N", - "value": Response { - Symbol(state): Object { - "aborted": false, - "body": Object { - "length": 1, - "source": "a", - "stream": ReadableStream { - Symbol(kType): "ReadableStream", - Symbol(kState): Object { - "controller": ReadableByteStreamController { - Symbol(kType): "ReadableByteStreamController", - Symbol(kState): Object { - "autoAllocateChunkSize": undefined, - "byobRequest": null, - "cancelAlgorithm": [Function nonOpCancel], - "closeRequested": false, - "highWaterMark": 0, - "pendingPullIntos": Array [], - "pullAgain": false, - "pullAlgorithm": [Function anonymous], - "pulling": false, - "queue": Array [], - "queueTotalSize": 0, - "started": true, - "stream": ReadableStream { - Symbol(kType): "ReadableStream", - Symbol(kState): [Circular], - Symbol(nodejs.webstream.isClosedPromise): Object { - "promise": Promise {}, - "reject": [Function anonymous], - "resolve": [Function anonymous], - }, - Symbol(nodejs.webstream.controllerErrorFunction): [Function anonymous], - }, - }, - }, - "disturbed": false, - "reader": undefined, - "state": "readable", - "storedError": undefined, - "transfer": Object { - "port1": undefined, - "port2": undefined, - "promise": undefined, - "writable": undefined, - }, - }, - Symbol(nodejs.webstream.isClosedPromise): Object { - "promise": Promise {}, - "reject": [Function anonymous], - "resolve": [Function anonymous], - }, - Symbol(nodejs.webstream.controllerErrorFunction): [Function anonymous], - }, - }, - "cacheState": "", - "headersList": HeadersList { - "cookies": null, - Symbol(headers map): Map { - "content-type" => Object { - "name": "content-type", - "value": "text/plain;charset=UTF-8", - }, - }, - Symbol(headers map sorted): null, - }, - "rangeRequested": false, - "requestIncludesCredentials": false, - "status": 200, - "statusText": "", - "timingAllowPassed": false, - "timingInfo": null, - "type": "default", - "urlList": Array [], - }, - Symbol(headers): Headers {}, - }, - }, - }, - Object { - "frame": 11, - "notification": Object { - "error": undefined, - "kind": "C", + "error": [TypeError: Cannot read properties of undefined (reading 'onLine')], + "kind": "E", "value": undefined, }, }, ] ❯ TestScheduler.assertDeepEqual src/retry.test.js:12:81 ❯ ../../node_modules/rxjs/src/internal/testing/TestScheduler.ts:217:14 ❯ TestScheduler.flush ../../node_modules/rxjs/src/internal/testing/TestScheduler.ts:215:39 ❯ TestScheduler.run ../../node_modules/rxjs/src/internal/testing/TestScheduler.ts:679:12 ❯ src/retry.test.js:28:19
Install (ubuntu-latest, 20)
Process completed with exit code 1.
Install (ubuntu-latest, 20)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Install (ubuntu-latest, 20): packages/mocks/blob.js#L8
Unexpected console statement
Install (ubuntu-latest, 20): packages/operators/src/log.js#L4
'tap' is defined but never used