Skip to content

feat(input): allow request configuration #1140

feat(input): allow request configuration

feat(input): allow request configuration #1140

Triggered via pull request September 3, 2024 16:08
Status Failure
Total duration 47s
Artifacts

pr.yml

on: pull_request
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

26 errors and 10 warnings
src/layers/6_client/client.extend.test.ts > entrypoint pack > can add header: src/layers/6_client/client.extend.test.ts#L25
AssertionError: expected ContextualError: There was an error in th… { …(2) } to deeply equal 'abc' - Expected: "abc" + Received: [ContextualError: There was an error in the core implementation of hook "exchange".] ❯ src/layers/6_client/client.extend.test.ts:25:38
src/layers/6_client/client.test.ts > transport > http > can set headers in constructor: src/layers/6_client/client.test.ts#L60
AssertionError: expected null to deeply equal 'bar' - Expected: "bar" + Received: null ❯ src/layers/6_client/client.test.ts:60:45
Node 20 @env node
Process completed with exit code 1.
types: examples/legacy/configuration-fetch-options.ts#L1
Module '"../../src/entrypoints/main.js"' has no exported member 'GraphQLClient'.
types: examples/legacy/configuration-incremental-endpoint.ts#L5
Module '"../../src/entrypoints/main.js"' has no exported member 'GraphQLClient'.
types: examples/legacy/configuration-incremental-request-headers.ts#L5
Module '"../../src/entrypoints/main.js"' has no exported member 'GraphQLClient'.
types: examples/legacy/configuration-request-json-serializer.ts#L7
Module '"../../src/entrypoints/main.js"' has no exported member 'GraphQLClient'.
types: examples/legacy/graphql-batching-requests.ts#L5
Module '"../../src/entrypoints/main.js"' has no exported member 'batchRequests'.
types: examples/legacy/graphql-document-variables.ts#L1
Module '"../../src/entrypoints/main.js"' has no exported member 'request'.
types: examples/legacy/graphql-mutations.ts#L1
Module '"../../src/entrypoints/main.js"' has no exported member 'GraphQLClient'.
types: examples/legacy/other-error-handling.ts#L1
Module '"../../src/entrypoints/main.js"' has no exported member 'request'.
types: examples/legacy/other-middleware.ts#L5
Module '"../../src/entrypoints/main.js"' has no exported member 'RequestMiddleware'.
types: examples/legacy/other-middleware.ts#L5
Module '"../../src/entrypoints/main.js"' has no exported member 'ResponseMiddleware'.
Node 22 @env node
The job was canceled because "_20_node" failed.
src/layers/6_client/client.extend.test.ts > entrypoint pack > can add header: src/layers/6_client/client.extend.test.ts#L25
AssertionError: expected ContextualError: There was an error in th… { …(2) } to deeply equal 'abc' - Expected: "abc" + Received: [ContextualError: There was an error in the core implementation of hook "exchange".] ❯ src/layers/6_client/client.extend.test.ts:25:38
src/layers/6_client/client.test.ts > transport > http > can set headers in constructor: src/layers/6_client/client.test.ts#L60
AssertionError: expected null to deeply equal 'bar' - Expected: "bar" + Received: null ❯ src/layers/6_client/client.test.ts:60:45
Node 22 @env node
Process completed with exit code 1.
Node 20 @env jsdom
The job was canceled because "_20_node" failed.
src/layers/6_client/client.extend.test.ts > entrypoint pack > can add header: src/layers/6_client/client.extend.test.ts#L25
AssertionError: expected ContextualError: There was an error in th… { …(2) } to deeply equal 'abc' - Expected: "abc" + Received: [ContextualError: There was an error in the core implementation of hook "exchange".] ❯ src/layers/6_client/client.extend.test.ts:25:38
src/layers/6_client/client.test.ts > transport > http > can set headers in constructor: src/layers/6_client/client.test.ts#L60
AssertionError: expected null to deeply equal 'bar' - Expected: "bar" + Received: null ❯ src/layers/6_client/client.test.ts:60:45
Node 20 @env jsdom
Process completed with exit code 1.
Node 22 @env jsdom
The job was canceled because "_20_node" failed.
src/layers/6_client/client.extend.test.ts > entrypoint pack > can add header: src/layers/6_client/client.extend.test.ts#L25
AssertionError: expected ContextualError: There was an error in th… { …(2) } to deeply equal 'abc' - Expected: "abc" + Received: [ContextualError: There was an error in the core implementation of hook "exchange".] ❯ src/layers/6_client/client.extend.test.ts:25:38
src/layers/6_client/client.test.ts > transport > http > can set headers in constructor: src/layers/6_client/client.test.ts#L60
AssertionError: expected null to deeply equal 'bar' - Expected: "bar" + Received: null ❯ src/layers/6_client/client.test.ts:60:45
Node 22 @env jsdom
The operation was canceled.
lint
Process completed with exit code 1.
lint: examples/legacy/configuration-fetch-options.ts#L5
Unsafe assignment of an error typed value
lint: examples/legacy/configuration-fetch-options.ts#L5
Unsafe construction of an any type value
lint: examples/legacy/configuration-fetch-options.ts#L30
Unsafe assignment of an error typed value
lint: examples/legacy/configuration-fetch-options.ts#L30
Unsafe call of an `error` type typed value
lint: examples/legacy/configuration-fetch-options.ts#L30
Unsafe member access .request on an `error` typed value
lint: examples/legacy/configuration-incremental-endpoint.ts#L7
Unsafe assignment of an error typed value
lint: examples/legacy/configuration-incremental-endpoint.ts#L7
Unsafe construction of an any type value
lint: examples/legacy/configuration-incremental-endpoint.ts#L9
Unsafe call of an `error` type typed value
lint: examples/legacy/configuration-incremental-endpoint.ts#L9
Unsafe member access .setEndpoint on an `error` typed value
lint: examples/legacy/configuration-incremental-request-headers.ts#L7
Unsafe assignment of an error typed value