feat(sdk): add logout helper and SDK method #22231
Annotations
2 errors
|
Integration Tests
Process completed with exit code 1.
|
|
Integration Tests:
test/sdk/int.spec.ts#L325
expect(received).rejects.toThrow()
Received promise resolved instead of rejected
Resolved to value: {Symbol(state): {"aborted": false, "body": {"length": null, "source": null, "stream": {Symbol(kType): "ReadableStream", Symbol(kState): {"controller": {Symbol(kType): "ReadableByteStreamController", Symbol(kState): {"autoAllocateChunkSize": undefined, "byobRequest": null, "cancelAlgorithm": [Function nonOpCancel], "closeRequested": false, "highWaterMark": 0, "pendingPullIntos": [], "pullAgain": false, "pullAlgorithm": [Function anonymous], "pulling": false, "queue": [], "queueTotalSize": 0, "started": true, "stream": [Circular]}}, "disturbed": false, "reader": undefined, "state": "readable", "storedError": undefined, "transfer": {"port1": undefined, "port2": undefined, "promise": undefined, "writable": undefined}}, Symbol(nodejs.webstream.isClosedPromise): {"promise": {Symbol(async_id_symbol): 4486957, Symbol(trigger_async_id_symbol): 4486891}, "reject": [Function anonymous], "resolve": [Function anonymous]}, Symbol(nodejs.webstream.controllerErrorFunction): [Function anonymous]}}, "cacheState": "", "headersList": {"cookies": null, Symbol(headers map): Map {"access-control-allow-methods" => {"name": "Access-Control-Allow-Methods", "value": "PUT, PATCH, POST, GET, DELETE, OPTIONS"}, "access-control-allow-headers" => {"name": "Access-Control-Allow-Headers", "value": "Origin, X-Requested-With, Content-Type, Accept, Authorization, Content-Encoding, x-apollo-tracing, X-Payload-HTTP-Method-Override"}, "content-type" => {"name": "content-type", "value": "application/json"}}, Symbol(headers map sorted): null}, "rangeRequested": false, "requestIncludesCredentials": false, "status": 200, "statusText": "", "timingAllowPassed": false, "timingInfo": null, "type": "default", "urlList": []}, Symbol(headers): {}}
at expect (../node_modules/.pnpm/[email protected]/node_modules/expect/build/index.js:113:15)
at Object.expect (sdk/int.spec.ts:325:11)
|
Loading