Skip to content

chore:lint

chore:lint #85

Triggered via push July 15, 2024 06:41
Status Failure
Total duration 25s
Artifacts

ci.yml

on: push
test, lint & typecheck
15s
test, lint & typecheck
Fit to window
Zoom out
Zoom in

Annotations

4 errors
Unhandled error: src/fetch.ts#L75
TypeError: fetch failed ❯ Module.betterFetch src/fetch.ts:75:17 ❯ src/create-fetch/index.ts:29:11 This error originated in "src/test/create.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running. { stack: 'AggregateError: \n' + ' at internalConnectMultiple (node:net:1117:18)\n' + ' at afterConnectMultiple (node:net:1684:7)', errors: [ { stack: 'Error: connect ECONNREFUSED ::1:3000\n' + ' at createConnectionError (node:net:1647:14)\n' + ' at afterConnectMultiple (node:net:1677:16)', message: 'connect ECONNREFUSED ::1:3000', errno: -111, code: 'ECONNREFUSED', syscall: 'connect', address: '::1', port: 3000, constructor: 'Function<Error>', name: 'Error', toString: 'Function<toString>' }, { stack: 'Error: connect ECONNREFUSED 127.0.0.1:3000\n' + ' at createConnectionError (node:net:1647:14)\n' + ' at afterConnectMultiple (node:net:1677:16)', message: 'connect ECONNREFUSED 127.0.0.1:3000', errno: -111, code: 'ECONNREFUSED', syscall: 'connect', address: '127.0.0.1', port: 3000, constructor: 'Function<Error>', name: 'Error', toString: 'Function<toString>' } ], code: 'ECONNREFUSED', message: '', constructor: 'Function<AggregateError>', name: 'Caused by: AggregateError', toString: 'Function<toString>', stacks: [ { method: 'internalConnectMultiple', file: '/home/runner/work/better-fetch/better-fetch/node:net', line: 1117, column: 18 }, { method: 'afterConnectMultiple', file: '/home/runner/work/better-fetch/better-fetch/node:net', line: 1684, column: 7 } ] } ❯ internalConnectMultiple node:net:1117:18 ❯ afterConnectMultiple node:net:1684:7 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { errors: [ { stack: 'Error: connect ECONNREFUSED ::1:3000\n at createConnectionError (node:net:1647:14)\n at afterConnectMultiple (node:net:1677:16)', message: 'connect ECONNREFUSED ::1:3000', errno: -111, code: 'ECONNREFUSED', syscall: 'connect', address: '::1', port: 3000, constructor: 'Function<Error>', name: 'Error', toString: 'Function<toString>' }, { stack: 'Error: connect ECONNREFUSED 127.0.0.1:3000\n at createConnectionError (node:net:1647:14)\n at afterConnectMultiple (node:net:1677:16)', message: 'connect ECONNREFUSED 127.0.0.1:3000', errno: -111, code: 'ECONNREFUSED', syscall: 'connect', address: '127.0.0.1', port: 3000, constructor: 'Function<Error>', name: 'Error', toString: 'Function<toString>' } ], code: 'ECONNREFUSED' }
Unhandled error: src/fetch.ts#L75
TypeError: fetch failed ❯ node:internal/deps/undici/undici:12502:13 ❯ processTicksAndRejections node:internal/process/task_queues:95:5 ❯ Module.betterFetch src/fetch.ts:75:17 This error originated in "src/test/fetch.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running. { stack: 'AggregateError: \n' + ' at internalConnectMultiple (node:net:1117:18)\n' + ' at afterConnectMultiple (node:net:1684:7)', errors: [ { stack: 'Error: connect ECONNREFUSED ::1:3000\n' + ' at createConnectionError (node:net:1647:14)\n' + ' at afterConnectMultiple (node:net:1677:16)', message: 'connect ECONNREFUSED ::1:3000', errno: -111, code: 'ECONNREFUSED', syscall: 'connect', address: '::1', port: 3000, constructor: 'Function<Error>', name: 'Error', toString: 'Function<toString>' }, { stack: 'Error: connect ECONNREFUSED 127.0.0.1:3000\n' + ' at createConnectionError (node:net:1647:14)\n' + ' at afterConnectMultiple (node:net:1677:16)', message: 'connect ECONNREFUSED 127.0.0.1:3000', errno: -111, code: 'ECONNREFUSED', syscall: 'connect', address: '127.0.0.1', port: 3000, constructor: 'Function<Error>', name: 'Error', toString: 'Function<toString>' } ], code: 'ECONNREFUSED', message: '', constructor: 'Function<AggregateError>', name: 'Caused by: Caused by: AggregateError', toString: 'Function<toString>', stacks: [ { method: 'internalConnectMultiple', file: '/home/runner/work/better-fetch/better-fetch/node:net', line: 1117, column: 18 }, { method: 'afterConnectMultiple', file: '/home/runner/work/better-fetch/better-fetch/node:net', line: 1684, column: 7 } ] } ❯ internalConnectMultiple node:net:1117:18 ❯ afterConnectMultiple node:net:1684:7 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { errors: [ { stack: 'Error: connect ECONNREFUSED ::1:3000\n at createConnectionError (node:net:1647:14)\n at afterConnectMultiple (node:net:1677:16)', message: 'connect ECONNREFUSED ::1:3000', errno: -111, code: 'ECONNREFUSED', syscall: 'connect', address: '::1', port: 3000, constructor: 'Function<Error>', name: 'Error', toString: 'Function<toString>' }, { stack: 'Error: connect ECONNREFUSED 127.0.0.1:3000\n at createConnectionError (node:net:1647:14)\n at afterConnectMultiple (node:net:1677:16)', message: 'connect ECONNREFUSED 127.0.0.1:3000', errno: -111, code: 'ECONNREFUSED', syscall: 'connect', address: '127.0.0.1', port: 3000, constructor: 'Function<Error>', name: 'Error', toString: 'Function<toString>' } ], code: 'ECONNREFUSED' }
Unhandled error: src/fetch.ts#L75
TypeError: fetch failed ❯ node:internal/deps/undici/undici:12502:13 ❯ processTicksAndRejections node:internal/process/task_queues:95:5 ❯ Module.betterFetch src/fetch.ts:75:17 This error originated in "src/test/fetch.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running. { stack: 'AggregateError: \n' + ' at internalConnectMultiple (node:net:1117:18)\n' + ' at afterConnectMultiple (node:net:1684:7)', errors: [ { stack: 'Error: connect ECONNREFUSED ::1:3000\n' + ' at createConnectionError (node:net:1647:14)\n' + ' at afterConnectMultiple (node:net:1677:16)', message: 'connect ECONNREFUSED ::1:3000', errno: -111, code: 'ECONNREFUSED', syscall: 'connect', address: '::1', port: 3000, constructor: 'Function<Error>', name: 'Error', toString: 'Function<toString>' }, { stack: 'Error: connect ECONNREFUSED 127.0.0.1:3000\n' + ' at createConnectionError (node:net:1647:14)\n' + ' at afterConnectMultiple (node:net:1677:16)', message: 'connect ECONNREFUSED 127.0.0.1:3000', errno: -111, code: 'ECONNREFUSED', syscall: 'connect', address: '127.0.0.1', port: 3000, constructor: 'Function<Error>', name: 'Error', toString: 'Function<toString>' } ], code: 'ECONNREFUSED', message: '', constructor: 'Function<AggregateError>', name: 'Caused by: Caused by: AggregateError', toString: 'Function<toString>', stacks: [ { method: 'internalConnectMultiple', file: '/home/runner/work/better-fetch/better-fetch/node:net', line: 1117, column: 18 }, { method: 'afterConnectMultiple', file: '/home/runner/work/better-fetch/better-fetch/node:net', line: 1684, column: 7 } ] } ❯ internalConnectMultiple node:net:1117:18 ❯ afterConnectMultiple node:net:1684:7 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { errors: [ { stack: 'Error: connect ECONNREFUSED ::1:3000\n at createConnectionError (node:net:1647:14)\n at afterConnectMultiple (node:net:1677:16)', message: 'connect ECONNREFUSED ::1:3000', errno: -111, code: 'ECONNREFUSED', syscall: 'connect', address: '::1', port: 3000, constructor: 'Function<Error>', name: 'Error', toString: 'Function<toString>' }, { stack: 'Error: connect ECONNREFUSED 127.0.0.1:3000\n at createConnectionError (node:net:1647:14)\n at afterConnectMultiple (node:net:1677:16)', message: 'connect ECONNREFUSED 127.0.0.1:3000', errno: -111, code: 'ECONNREFUSED', syscall: 'connect', address: '127.0.0.1', port: 3000, constructor: 'Function<Error>', name: 'Error', toString: 'Function<toString>' } ], code: 'ECONNREFUSED' }
test, lint & typecheck
Process completed with exit code 1.