Skip to content

refactor!: code improvements #513

refactor!: code improvements

refactor!: code improvements #513

Triggered via pull request September 24, 2025 18:38
Status Failure
Total duration 24s
Artifacts

ci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors
test/middleware/web-outgoing.test.ts > middleware:web-outgoing > #setRedirectHostRewrite > rewrites location host with hostRewrite > takes precedence over autoRewrite: test/middleware/web-outgoing.test.ts#L77
AssertionError: expected 'http://backend.com/' to deeply equal 'http://ext-manual.com/' Expected: "http://ext-manual.com/" Received: "http://backend.com/" ❯ test/middleware/web-outgoing.test.ts:77:50
test/middleware/web-outgoing.test.ts > middleware:web-outgoing > #setRedirectHostRewrite > rewrites location host with hostRewrite > on 308: test/middleware/web-outgoing.test.ts#L41
AssertionError: expected 'http://backend.com/' to deeply equal 'http://ext-manual.com/' Expected: "http://ext-manual.com/" Received: "http://backend.com/" ❯ test/middleware/web-outgoing.test.ts:41:52
test/middleware/web-outgoing.test.ts > middleware:web-outgoing > #setRedirectHostRewrite > rewrites location host with hostRewrite > on 307: test/middleware/web-outgoing.test.ts#L41
AssertionError: expected 'http://backend.com/' to deeply equal 'http://ext-manual.com/' Expected: "http://ext-manual.com/" Received: "http://backend.com/" ❯ test/middleware/web-outgoing.test.ts:41:52
test/middleware/web-outgoing.test.ts > middleware:web-outgoing > #setRedirectHostRewrite > rewrites location host with hostRewrite > on 302: test/middleware/web-outgoing.test.ts#L41
AssertionError: expected 'http://backend.com/' to deeply equal 'http://ext-manual.com/' Expected: "http://ext-manual.com/" Received: "http://backend.com/" ❯ test/middleware/web-outgoing.test.ts:41:52
test/middleware/web-outgoing.test.ts > middleware:web-outgoing > #setRedirectHostRewrite > rewrites location host with hostRewrite > on 301: test/middleware/web-outgoing.test.ts#L41
AssertionError: expected 'http://backend.com/' to deeply equal 'http://ext-manual.com/' Expected: "http://ext-manual.com/" Received: "http://backend.com/" ❯ test/middleware/web-outgoing.test.ts:41:52
test/middleware/web-outgoing.test.ts > middleware:web-outgoing > #setRedirectHostRewrite > rewrites location host with hostRewrite > on 201: test/middleware/web-outgoing.test.ts#L41
AssertionError: expected 'http://backend.com/' to deeply equal 'http://ext-manual.com/' Expected: "http://ext-manual.com/" Received: "http://backend.com/" ❯ test/middleware/web-outgoing.test.ts:41:52
test/_utils.test.ts > lib/http-proxy/common.js > #setupOutgoing > should not modify the query string: test/_utils.test.ts#L268
AssertionError: expected '/?foo=bar//&target=http://foobar.com/…' to deeply equal '/forward/?foo=bar//&target=http://foo…' Expected: "/forward/?foo=bar//&target=http://foobar.com/?a=1%26b=2&other=2" Received: "/?foo=bar//&target=http://foobar.com/?a=1%26b=2&other=2" ❯ test/_utils.test.ts:268:32
test/_utils.test.ts > lib/http-proxy/common.js > #setupOutgoing > should properly join paths: test/_utils.test.ts#L255
AssertionError: expected '/static/path' to deeply equal '/forward/static/path' Expected: "/forward/static/path" Received: "/static/path" ❯ test/_utils.test.ts:255:32
test/_utils.test.ts > lib/http-proxy/common.js > #setupOutgoing > should keep the original forward path in the outgoing path: test/_utils.test.ts#L212
AssertionError: expected '/am' to deeply equal 'some-path/am' Expected: "some-path/am" Received: "/am" ❯ test/_utils.test.ts:212:32
test/_utils.test.ts > lib/http-proxy/common.js > #setupOutgoing > should keep the original target path in the outgoing path: test/_utils.test.ts#L193
AssertionError: expected '/am' to deeply equal 'some-path/am' Expected: "some-path/am" Received: "/am" ❯ test/_utils.test.ts:193:32