Skip to content

Add constructor type and require baseUrl #27

Add constructor type and require baseUrl

Add constructor type and require baseUrl #27

Triggered via pull request November 24, 2025 18:47
Status Failure
Total duration 26s
Artifacts

ci.yml

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

Annotations

20 errors
Test (Node 22)
Process completed with exit code 2.
Test (Node 22): tests/utils/test-helpers.ts#L46
Argument of type '{ get: Mock<UnknownFunction>; post: Mock<UnknownFunction>; delete: Mock<UnknownFunction>; put: Mock<UnknownFunction>; patch: Mock<...>; }' is not assignable to parameter of type 'AxiosInstance'.
Test (Node 22): tests/unit/sanitization.test.ts#L142
Argument of type '{ apiKey: string; debug: true; debugVerbose: true; }' is not assignable to parameter of type '{ apiKey: string; baseUrl: string; timeout?: number | undefined; debug?: boolean | undefined; debugVerbose?: boolean | undefined; customHeaders?: Record<string, string> | undefined; }'.
Test (Node 22): tests/unit/sanitization.test.ts#L103
Argument of type '{ apiKey: string; debug: true; debugVerbose: false; }' is not assignable to parameter of type '{ apiKey: string; baseUrl: string; timeout?: number | undefined; debug?: boolean | undefined; debugVerbose?: boolean | undefined; customHeaders?: Record<string, string> | undefined; }'.
Test (Node 22): tests/unit/sanitization.test.ts#L69
Argument of type '{ apiKey: string; debug: true; }' is not assignable to parameter of type '{ apiKey: string; baseUrl: string; timeout?: number | undefined; debug?: boolean | undefined; debugVerbose?: boolean | undefined; customHeaders?: Record<string, string> | undefined; }'.
Test (Node 22): tests/unit/sanitization.test.ts#L58
Argument of type '{ apiKey: string; debug: true; }' is not assignable to parameter of type '{ apiKey: string; baseUrl: string; timeout?: number | undefined; debug?: boolean | undefined; debugVerbose?: boolean | undefined; customHeaders?: Record<string, string> | undefined; }'.
Test (Node 20)
The strategy configuration was canceled because "test._22" failed
Test (Node 20)
The operation was canceled.
Test (Node 20): tests/utils/test-helpers.ts#L46
Argument of type '{ get: Mock<UnknownFunction>; post: Mock<UnknownFunction>; delete: Mock<UnknownFunction>; put: Mock<UnknownFunction>; patch: Mock<...>; }' is not assignable to parameter of type 'AxiosInstance'.
Test (Node 20): tests/unit/sanitization.test.ts#L142
Argument of type '{ apiKey: string; debug: true; debugVerbose: true; }' is not assignable to parameter of type '{ apiKey: string; baseUrl: string; timeout?: number | undefined; debug?: boolean | undefined; debugVerbose?: boolean | undefined; customHeaders?: Record<string, string> | undefined; }'.
Test (Node 20): tests/unit/sanitization.test.ts#L103
Argument of type '{ apiKey: string; debug: true; debugVerbose: false; }' is not assignable to parameter of type '{ apiKey: string; baseUrl: string; timeout?: number | undefined; debug?: boolean | undefined; debugVerbose?: boolean | undefined; customHeaders?: Record<string, string> | undefined; }'.
Test (Node 20): tests/unit/sanitization.test.ts#L69
Argument of type '{ apiKey: string; debug: true; }' is not assignable to parameter of type '{ apiKey: string; baseUrl: string; timeout?: number | undefined; debug?: boolean | undefined; debugVerbose?: boolean | undefined; customHeaders?: Record<string, string> | undefined; }'.
Test (Node 20): tests/unit/sanitization.test.ts#L58
Argument of type '{ apiKey: string; debug: true; }' is not assignable to parameter of type '{ apiKey: string; baseUrl: string; timeout?: number | undefined; debug?: boolean | undefined; debugVerbose?: boolean | undefined; customHeaders?: Record<string, string> | undefined; }'.
Test (Node 18)
The strategy configuration was canceled because "test._22" failed
Test (Node 18)
The operation was canceled.
Test (Node 18): tests/utils/test-helpers.ts#L46
Argument of type '{ get: Mock<UnknownFunction>; post: Mock<UnknownFunction>; delete: Mock<UnknownFunction>; put: Mock<UnknownFunction>; patch: Mock<...>; }' is not assignable to parameter of type 'AxiosInstance'.
Test (Node 18): tests/unit/sanitization.test.ts#L142
Argument of type '{ apiKey: string; debug: true; debugVerbose: true; }' is not assignable to parameter of type '{ apiKey: string; baseUrl: string; timeout?: number | undefined; debug?: boolean | undefined; debugVerbose?: boolean | undefined; customHeaders?: Record<string, string> | undefined; }'.
Test (Node 18): tests/unit/sanitization.test.ts#L103
Argument of type '{ apiKey: string; debug: true; debugVerbose: false; }' is not assignable to parameter of type '{ apiKey: string; baseUrl: string; timeout?: number | undefined; debug?: boolean | undefined; debugVerbose?: boolean | undefined; customHeaders?: Record<string, string> | undefined; }'.
Test (Node 18): tests/unit/sanitization.test.ts#L69
Argument of type '{ apiKey: string; debug: true; }' is not assignable to parameter of type '{ apiKey: string; baseUrl: string; timeout?: number | undefined; debug?: boolean | undefined; debugVerbose?: boolean | undefined; customHeaders?: Record<string, string> | undefined; }'.
Test (Node 18): tests/unit/sanitization.test.ts#L58
Argument of type '{ apiKey: string; debug: true; }' is not assignable to parameter of type '{ apiKey: string; baseUrl: string; timeout?: number | undefined; debug?: boolean | undefined; debugVerbose?: boolean | undefined; customHeaders?: Record<string, string> | undefined; }'.