Skip to content

feat: add .redirect to RequestOptions and support in fetch engine #1953

feat: add .redirect to RequestOptions and support in fetch engine

feat: add .redirect to RequestOptions and support in fetch engine #1953

Triggered via pull request November 6, 2024 09:44
Status Failure
Total duration 2m 35s
Artifacts 1

test.yml

on: pull_request
Matrix: build-standalone
Matrix: es5-tests
Matrix: linters
Matrix: tests
Fit to window
Zoom out
Zoom in

Annotations

8 errors and 15 warnings
linters (18.x): src/core/request/engines/fetch/index.ts#L60
Trailing spaces not allowed
linters (18.x)
Process completed with exit code 1.
core/request/engines/composition as request engine › a request should be made if the requestFilter promise resolves with a result of true: src/core/request/engines/composition/test/engine.spec.ts#L280
expect(received).toHaveLength(expected) Expected length: 1 Received length: 0 Received array: [] at src/core/request/engines/composition/test/engine.spec.ts:280:38 at step (node_modules/tslib/tslib.js:143:27) at Object.next (node_modules/tslib/tslib.js:124:57) at fulfilled (node_modules/tslib/tslib.js:114:62)
core/request/engines/composition as request engine › should return an AggregateError containing errors from all requests configured with failCompositionOnError set to true: src/core/request/engines/composition/test/engine.spec.ts#L292
thrown: "Exceeded timeout of 20000 ms for a test. Add a timeout value to this test to increase the timeout, if this is a long-running test. See https://jestjs.io/docs/api#testname-fn-timeout." at src/core/request/engines/composition/test/engine.spec.ts:292:2 at Object.<anonymous> (src/core/request/engines/composition/test/engine.spec.ts:15:1)
core/request/engines/composition as request engine › should spread result if spread is specified in "as": src/core/request/engines/composition/test/engine.spec.ts#L339
thrown: "Exceeded timeout of 20000 ms for a test. Add a timeout value to this test to increase the timeout, if this is a long-running test. See https://jestjs.io/docs/api#testname-fn-timeout." at src/core/request/engines/composition/test/engine.spec.ts:339:2 at Object.<anonymous> (src/core/request/engines/composition/test/engine.spec.ts:15:1)
core/request/engines/composition as request engine › caching strategy is set to "never" › should always call the request functions: src/core/request/engines/composition/test/engine.spec.ts#L362
thrown: "Exceeded timeout of 20000 ms for a test. Add a timeout value to this test to increase the timeout, if this is a long-running test. See https://jestjs.io/docs/api#testname-fn-timeout." at src/core/request/engines/composition/test/engine.spec.ts:362:3 at src/core/request/engines/composition/test/engine.spec.ts:361:2 at Object.<anonymous> (src/core/request/engines/composition/test/engine.spec.ts:15:1)
core/request/engines/composition as request engine › when a request created in the request function has a cacheStrategy of "queue" › the engine should cache the request and avoid making duplicate requests: src/core/request/engines/composition/test/engine.spec.ts#L396
thrown: "Exceeded timeout of 20000 ms for a test. Add a timeout value to this test to increase the timeout, if this is a long-running test. See https://jestjs.io/docs/api#testname-fn-timeout." at src/core/request/engines/composition/test/engine.spec.ts:396:3 at src/core/request/engines/composition/test/engine.spec.ts:395:2 at Object.<anonymous> (src/core/request/engines/composition/test/engine.spec.ts:15:1)
es5-tests (18.x)
Process completed with exit code 1.
linters (18.x)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
linters (18.x): src/core/async/wrappers/spec.js#L15
Do not import Node.js builtin module "events"
linters (18.x): src/core/async/wrappers/spec.js#L15
`events` import should occur before import of `express`
linters (18.x): src/core/iter/index.ts#L60
This overload and the one on line 54 can be combined into one signature taking `ArrayLike<T> | GeneratorFunction`
linters (18.x): src/core/json/convert.ts#L17
Expected a default case
linters (18.x): src/core/json/convert.ts#L45
Use 'String#startsWith' method instead
linters (18.x): src/core/json/convert.ts#L48
Expected a default case
linters (18.x): src/core/object/watch/spec.js#L15
Arrow function has too many lines (1064). Maximum allowed is 400
linters (18.x): src/core/object/watch/spec.js#L22
Arrow function has too many lines (1056). Maximum allowed is 400
linters (18.x): src/core/object/watch/spec.js#L23
Arrow function has too many lines (1054). Maximum allowed is 400
linters (18.x): src/core/request/engines/composition/test/server.ts#L9
Do not import Node.js builtin module "node:http"
build-standalone (18.x)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3, actions/upload-artifact@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
tests (18.x)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3, coverallsapp/github-action@master. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
es5-tests (18.x)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Deprecation notice: v1, v2, and v3 of the artifact actions
The following artifacts were uploaded using a version of actions/upload-artifact that is scheduled for deprecation: "lib". Please update your workflow to use v4 of the artifact actions. Learn more: https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/

Artifacts

Produced during runtime
Name Size
lib Expired
1.12 MB