Add Blacklisting API #504
Annotations
10 errors
src/routes/api/blacklisting/blacklisting.test.ts > sum test > blacklisting success:
src/lib/testHelpers.ts#L45
{
stack: 'AggregateError: \n' +
' at /home/runner/work/prima/prima/node_modules/pg-pool/index.js:45:11\n' +
' at processTicksAndRejections (node:internal/process/task_queues:95:5)\n' +
' at PostgresDriver.acquireConnection (file:///home/runner/work/prima/prima/node_modules/kysely/dist/esm/dialect/postgres/postgres-driver.js:19:24)\n' +
' at RuntimeDriver.acquireConnection (file:///home/runner/work/prima/prima/node_modules/kysely/dist/esm/driver/runtime-driver.js:44:28)\n' +
' at DefaultConnectionProvider.provideConnection (file:///home/runner/work/prima/prima/node_modules/kysely/dist/esm/driver/default-connection-provider.js:8:28)\n' +
' at DefaultQueryExecutor.executeQuery (file:///home/runner/work/prima/prima/node_modules/kysely/dist/esm/query-executor/query-executor-base.js:34:16)\n' +
' at DeleteQueryBuilder.execute (file:///home/runner/work/prima/prima/node_modules/kysely/dist/esm/query-builder/delete-query-builder.js:463:24)\n' +
' at async Promise.all (index 0)\n' +
' at Module.clearDatabase (/home/runner/work/prima/prima/src/lib/testHelpers.ts:45:2)\n' +
' at /home/runner/work/prima/prima/src/routes/api/blacklisting/blacklisting.test.ts:26:3',
errors: [
{
stack: 'Error: connect ECONNREFUSED ::1:6500\n' +
' at createConnectionError (node:net:1648:14)\n' +
' at afterConnectMultiple (node:net:1678:16)',
message: 'connect ECONNREFUSED ::1:6500',
errno: -111,
code: 'ECONNREFUSED',
syscall: 'connect',
address: '::1',
port: 6500,
constructor: 'Function<Error>',
name: 'Error',
toString: 'Function<toString>'
},
{
stack: 'Error: connect ECONNREFUSED 127.0.0.1:6500\n' +
' at createConnectionError (node:net:1648:14)\n' +
' at afterConnectMultiple (node:net:1678:16)',
message: 'connect ECONNREFUSED 127.0.0.1:6500',
errno: -111,
code: 'ECONNREFUSED',
syscall: 'connect',
address: '127.0.0.1',
port: 6500,
constructor: 'Function<Error>',
name: 'Error',
toString: 'Function<toString>'
}
],
code: 'ECONNREFUSED',
stackStr: 'AggregateError: \n' +
' at /home/runner/work/prima/prima/node_modules/pg-pool/index.js:45:11\n' +
' at processTicksAndRejections (node:internal/process/task_queues:95:5)\n' +
' at PostgresDriver.acquireConnection (file:///home/runner/work/prima/prima/node_modules/kysely/dist/esm/dialect/postgres/postgres-driver.js:19:24)\n' +
' at RuntimeDriver.acquireConnection (file:///home/runner/work/prima/prima/node_modules/kysely/dist/esm/driver/runtime-driver.js:44:28)\n' +
' at DefaultConnectionProvider.provideConnection (file:///home/runner/work/prima/prima/node_modules/kysely/dist/esm/driver/default-connection-provider.js:8:28)\n' +
' at DefaultQueryExecutor.executeQuery (file:///home/runner/work/prima/prima/node_modules/kysely/dist/esm/query-executor/query-executor-base.js:34:16)\n' +
' at DeleteQueryBuilder.execute (file:///home/runner/work/prima/prima/node_modules/kysely/dist/esm/query-builder/delete-query-builder.js:463:24)\n' +
' at async Promise.all (index 0)\n' +
' at Module.clearDatabase (/home/runner/work/prima/prima/src/lib/testHelpers.ts:45:2)\n' +
' at /home/runner/work/prima/prima/src/routes/api/blacklisting/blacklisting.test.ts:26:3',
nameStr: 'AggregateError',
expected: 'undefined',
actual: 'undefined',
message: '',
constructor: 'Function<AggregateError>',
name: 'AggregateError',
toString: 'Function<toString>',
stacks: [
{
method: '',
file: '/home/runner/work/prima/prima/node_modules/pg-pool/index.js',
line: 45,
column: 11
},
{
method: 'PostgresDriver.acquireConnection',
file: '/home/runner/work/prima/prima/node_modules/kysely/dist/esm/dialect/postgres/postgres-driver.js',
line: 19,
column: 24
},
{
method: 'RuntimeDriver.acquireConnection',
file: '/home/runner/work/prima/prima/node_module
|
src/routes/api/blacklisting/blacklisting.test.ts > sum test > blacklisting success with availability:
src/lib/testHelpers.ts#L45
{
stack: 'AggregateError: \n' +
' at /home/runner/work/prima/prima/node_modules/pg-pool/index.js:45:11\n' +
' at processTicksAndRejections (node:internal/process/task_queues:95:5)\n' +
' at PostgresDriver.acquireConnection (file:///home/runner/work/prima/prima/node_modules/kysely/dist/esm/dialect/postgres/postgres-driver.js:19:24)\n' +
' at RuntimeDriver.acquireConnection (file:///home/runner/work/prima/prima/node_modules/kysely/dist/esm/driver/runtime-driver.js:44:28)\n' +
' at DefaultConnectionProvider.provideConnection (file:///home/runner/work/prima/prima/node_modules/kysely/dist/esm/driver/default-connection-provider.js:8:28)\n' +
' at DefaultQueryExecutor.executeQuery (file:///home/runner/work/prima/prima/node_modules/kysely/dist/esm/query-executor/query-executor-base.js:34:16)\n' +
' at DeleteQueryBuilder.execute (file:///home/runner/work/prima/prima/node_modules/kysely/dist/esm/query-builder/delete-query-builder.js:463:24)\n' +
' at async Promise.all (index 0)\n' +
' at Module.clearDatabase (/home/runner/work/prima/prima/src/lib/testHelpers.ts:45:2)\n' +
' at /home/runner/work/prima/prima/src/routes/api/blacklisting/blacklisting.test.ts:26:3',
errors: [
{
stack: 'Error: connect ECONNREFUSED ::1:6500\n' +
' at createConnectionError (node:net:1648:14)\n' +
' at afterConnectMultiple (node:net:1678:16)',
message: 'connect ECONNREFUSED ::1:6500',
errno: -111,
code: 'ECONNREFUSED',
syscall: 'connect',
address: '::1',
port: 6500,
constructor: 'Function<Error>',
name: 'Error',
toString: 'Function<toString>'
},
{
stack: 'Error: connect ECONNREFUSED 127.0.0.1:6500\n' +
' at createConnectionError (node:net:1648:14)\n' +
' at afterConnectMultiple (node:net:1678:16)',
message: 'connect ECONNREFUSED 127.0.0.1:6500',
errno: -111,
code: 'ECONNREFUSED',
syscall: 'connect',
address: '127.0.0.1',
port: 6500,
constructor: 'Function<Error>',
name: 'Error',
toString: 'Function<toString>'
}
],
code: 'ECONNREFUSED',
stackStr: 'AggregateError: \n' +
' at /home/runner/work/prima/prima/node_modules/pg-pool/index.js:45:11\n' +
' at processTicksAndRejections (node:internal/process/task_queues:95:5)\n' +
' at PostgresDriver.acquireConnection (file:///home/runner/work/prima/prima/node_modules/kysely/dist/esm/dialect/postgres/postgres-driver.js:19:24)\n' +
' at RuntimeDriver.acquireConnection (file:///home/runner/work/prima/prima/node_modules/kysely/dist/esm/driver/runtime-driver.js:44:28)\n' +
' at DefaultConnectionProvider.provideConnection (file:///home/runner/work/prima/prima/node_modules/kysely/dist/esm/driver/default-connection-provider.js:8:28)\n' +
' at DefaultQueryExecutor.executeQuery (file:///home/runner/work/prima/prima/node_modules/kysely/dist/esm/query-executor/query-executor-base.js:34:16)\n' +
' at DeleteQueryBuilder.execute (file:///home/runner/work/prima/prima/node_modules/kysely/dist/esm/query-builder/delete-query-builder.js:463:24)\n' +
' at async Promise.all (index 0)\n' +
' at Module.clearDatabase (/home/runner/work/prima/prima/src/lib/testHelpers.ts:45:2)\n' +
' at /home/runner/work/prima/prima/src/routes/api/blacklisting/blacklisting.test.ts:26:3',
nameStr: 'AggregateError',
expected: 'undefined',
actual: 'undefined',
message: '',
constructor: 'Function<AggregateError>',
name: 'AggregateError',
toString: 'Function<toString>',
stacks: [
{
method: '',
file: '/home/runner/work/prima/prima/node_modules/pg-pool/index.js',
line: 45,
column: 11
},
{
method: 'PostgresDriver.acquireConnection',
file: '/home/runner/work/prima/prima/node_modules/kysely/dist/esm/dialect/postgres/postgres-driver.js',
line: 19,
column: 24
},
{
method: 'RuntimeDriver.acquireConnection',
file: '/home/runner/work/prima/prima/node_module
|
src/routes/api/blacklisting/blacklisting.test.ts > sum test > blacklisting success with tour:
src/lib/testHelpers.ts#L45
{
stack: 'AggregateError: \n' +
' at /home/runner/work/prima/prima/node_modules/pg-pool/index.js:45:11\n' +
' at processTicksAndRejections (node:internal/process/task_queues:95:5)\n' +
' at PostgresDriver.acquireConnection (file:///home/runner/work/prima/prima/node_modules/kysely/dist/esm/dialect/postgres/postgres-driver.js:19:24)\n' +
' at RuntimeDriver.acquireConnection (file:///home/runner/work/prima/prima/node_modules/kysely/dist/esm/driver/runtime-driver.js:44:28)\n' +
' at DefaultConnectionProvider.provideConnection (file:///home/runner/work/prima/prima/node_modules/kysely/dist/esm/driver/default-connection-provider.js:8:28)\n' +
' at DefaultQueryExecutor.executeQuery (file:///home/runner/work/prima/prima/node_modules/kysely/dist/esm/query-executor/query-executor-base.js:34:16)\n' +
' at DeleteQueryBuilder.execute (file:///home/runner/work/prima/prima/node_modules/kysely/dist/esm/query-builder/delete-query-builder.js:463:24)\n' +
' at async Promise.all (index 0)\n' +
' at Module.clearDatabase (/home/runner/work/prima/prima/src/lib/testHelpers.ts:45:2)\n' +
' at /home/runner/work/prima/prima/src/routes/api/blacklisting/blacklisting.test.ts:26:3',
errors: [
{
stack: 'Error: connect ECONNREFUSED ::1:6500\n' +
' at createConnectionError (node:net:1648:14)\n' +
' at afterConnectMultiple (node:net:1678:16)',
message: 'connect ECONNREFUSED ::1:6500',
errno: -111,
code: 'ECONNREFUSED',
syscall: 'connect',
address: '::1',
port: 6500,
constructor: 'Function<Error>',
name: 'Error',
toString: 'Function<toString>'
},
{
stack: 'Error: connect ECONNREFUSED 127.0.0.1:6500\n' +
' at createConnectionError (node:net:1648:14)\n' +
' at afterConnectMultiple (node:net:1678:16)',
message: 'connect ECONNREFUSED 127.0.0.1:6500',
errno: -111,
code: 'ECONNREFUSED',
syscall: 'connect',
address: '127.0.0.1',
port: 6500,
constructor: 'Function<Error>',
name: 'Error',
toString: 'Function<toString>'
}
],
code: 'ECONNREFUSED',
stackStr: 'AggregateError: \n' +
' at /home/runner/work/prima/prima/node_modules/pg-pool/index.js:45:11\n' +
' at processTicksAndRejections (node:internal/process/task_queues:95:5)\n' +
' at PostgresDriver.acquireConnection (file:///home/runner/work/prima/prima/node_modules/kysely/dist/esm/dialect/postgres/postgres-driver.js:19:24)\n' +
' at RuntimeDriver.acquireConnection (file:///home/runner/work/prima/prima/node_modules/kysely/dist/esm/driver/runtime-driver.js:44:28)\n' +
' at DefaultConnectionProvider.provideConnection (file:///home/runner/work/prima/prima/node_modules/kysely/dist/esm/driver/default-connection-provider.js:8:28)\n' +
' at DefaultQueryExecutor.executeQuery (file:///home/runner/work/prima/prima/node_modules/kysely/dist/esm/query-executor/query-executor-base.js:34:16)\n' +
' at DeleteQueryBuilder.execute (file:///home/runner/work/prima/prima/node_modules/kysely/dist/esm/query-builder/delete-query-builder.js:463:24)\n' +
' at async Promise.all (index 0)\n' +
' at Module.clearDatabase (/home/runner/work/prima/prima/src/lib/testHelpers.ts:45:2)\n' +
' at /home/runner/work/prima/prima/src/routes/api/blacklisting/blacklisting.test.ts:26:3',
nameStr: 'AggregateError',
expected: 'undefined',
actual: 'undefined',
message: '',
constructor: 'Function<AggregateError>',
name: 'AggregateError',
toString: 'Function<toString>',
stacks: [
{
method: '',
file: '/home/runner/work/prima/prima/node_modules/pg-pool/index.js',
line: 45,
column: 11
},
{
method: 'PostgresDriver.acquireConnection',
file: '/home/runner/work/prima/prima/node_modules/kysely/dist/esm/dialect/postgres/postgres-driver.js',
line: 19,
column: 24
},
{
method: 'RuntimeDriver.acquireConnection',
file: '/home/runner/work/prima/prima/node_module
|
src/routes/api/blacklisting/blacklisting.test.ts > sum test > blacklisting success, 2 busstops with 2 times each:
src/lib/testHelpers.ts#L45
{
stack: 'AggregateError: \n' +
' at /home/runner/work/prima/prima/node_modules/pg-pool/index.js:45:11\n' +
' at processTicksAndRejections (node:internal/process/task_queues:95:5)\n' +
' at PostgresDriver.acquireConnection (file:///home/runner/work/prima/prima/node_modules/kysely/dist/esm/dialect/postgres/postgres-driver.js:19:24)\n' +
' at RuntimeDriver.acquireConnection (file:///home/runner/work/prima/prima/node_modules/kysely/dist/esm/driver/runtime-driver.js:44:28)\n' +
' at DefaultConnectionProvider.provideConnection (file:///home/runner/work/prima/prima/node_modules/kysely/dist/esm/driver/default-connection-provider.js:8:28)\n' +
' at DefaultQueryExecutor.executeQuery (file:///home/runner/work/prima/prima/node_modules/kysely/dist/esm/query-executor/query-executor-base.js:34:16)\n' +
' at DeleteQueryBuilder.execute (file:///home/runner/work/prima/prima/node_modules/kysely/dist/esm/query-builder/delete-query-builder.js:463:24)\n' +
' at async Promise.all (index 0)\n' +
' at Module.clearDatabase (/home/runner/work/prima/prima/src/lib/testHelpers.ts:45:2)\n' +
' at /home/runner/work/prima/prima/src/routes/api/blacklisting/blacklisting.test.ts:26:3',
errors: [
{
stack: 'Error: connect ECONNREFUSED ::1:6500\n' +
' at createConnectionError (node:net:1648:14)\n' +
' at afterConnectMultiple (node:net:1678:16)',
message: 'connect ECONNREFUSED ::1:6500',
errno: -111,
code: 'ECONNREFUSED',
syscall: 'connect',
address: '::1',
port: 6500,
constructor: 'Function<Error>',
name: 'Error',
toString: 'Function<toString>'
},
{
stack: 'Error: connect ECONNREFUSED 127.0.0.1:6500\n' +
' at createConnectionError (node:net:1648:14)\n' +
' at afterConnectMultiple (node:net:1678:16)',
message: 'connect ECONNREFUSED 127.0.0.1:6500',
errno: -111,
code: 'ECONNREFUSED',
syscall: 'connect',
address: '127.0.0.1',
port: 6500,
constructor: 'Function<Error>',
name: 'Error',
toString: 'Function<toString>'
}
],
code: 'ECONNREFUSED',
stackStr: 'AggregateError: \n' +
' at /home/runner/work/prima/prima/node_modules/pg-pool/index.js:45:11\n' +
' at processTicksAndRejections (node:internal/process/task_queues:95:5)\n' +
' at PostgresDriver.acquireConnection (file:///home/runner/work/prima/prima/node_modules/kysely/dist/esm/dialect/postgres/postgres-driver.js:19:24)\n' +
' at RuntimeDriver.acquireConnection (file:///home/runner/work/prima/prima/node_modules/kysely/dist/esm/driver/runtime-driver.js:44:28)\n' +
' at DefaultConnectionProvider.provideConnection (file:///home/runner/work/prima/prima/node_modules/kysely/dist/esm/driver/default-connection-provider.js:8:28)\n' +
' at DefaultQueryExecutor.executeQuery (file:///home/runner/work/prima/prima/node_modules/kysely/dist/esm/query-executor/query-executor-base.js:34:16)\n' +
' at DeleteQueryBuilder.execute (file:///home/runner/work/prima/prima/node_modules/kysely/dist/esm/query-builder/delete-query-builder.js:463:24)\n' +
' at async Promise.all (index 0)\n' +
' at Module.clearDatabase (/home/runner/work/prima/prima/src/lib/testHelpers.ts:45:2)\n' +
' at /home/runner/work/prima/prima/src/routes/api/blacklisting/blacklisting.test.ts:26:3',
nameStr: 'AggregateError',
expected: 'undefined',
actual: 'undefined',
message: '',
constructor: 'Function<AggregateError>',
name: 'AggregateError',
toString: 'Function<toString>',
stacks: [
{
method: '',
file: '/home/runner/work/prima/prima/node_modules/pg-pool/index.js',
line: 45,
column: 11
},
{
method: 'PostgresDriver.acquireConnection',
file: '/home/runner/work/prima/prima/node_modules/kysely/dist/esm/dialect/postgres/postgres-driver.js',
line: 19,
column: 24
},
{
method: 'RuntimeDriver.acquireConnection',
file: '/home/runner/work/prima/prima/node_module
|
src/routes/api/blacklisting/blacklisting.test.ts > sum test > blacklisting success, luggage on seats:
src/lib/testHelpers.ts#L45
{
stack: 'AggregateError: \n' +
' at /home/runner/work/prima/prima/node_modules/pg-pool/index.js:45:11\n' +
' at processTicksAndRejections (node:internal/process/task_queues:95:5)\n' +
' at PostgresDriver.acquireConnection (file:///home/runner/work/prima/prima/node_modules/kysely/dist/esm/dialect/postgres/postgres-driver.js:19:24)\n' +
' at RuntimeDriver.acquireConnection (file:///home/runner/work/prima/prima/node_modules/kysely/dist/esm/driver/runtime-driver.js:44:28)\n' +
' at DefaultConnectionProvider.provideConnection (file:///home/runner/work/prima/prima/node_modules/kysely/dist/esm/driver/default-connection-provider.js:8:28)\n' +
' at DefaultQueryExecutor.executeQuery (file:///home/runner/work/prima/prima/node_modules/kysely/dist/esm/query-executor/query-executor-base.js:34:16)\n' +
' at DeleteQueryBuilder.execute (file:///home/runner/work/prima/prima/node_modules/kysely/dist/esm/query-builder/delete-query-builder.js:463:24)\n' +
' at async Promise.all (index 0)\n' +
' at Module.clearDatabase (/home/runner/work/prima/prima/src/lib/testHelpers.ts:45:2)\n' +
' at /home/runner/work/prima/prima/src/routes/api/blacklisting/blacklisting.test.ts:26:3',
errors: [
{
stack: 'Error: connect ECONNREFUSED ::1:6500\n' +
' at createConnectionError (node:net:1648:14)\n' +
' at afterConnectMultiple (node:net:1678:16)',
message: 'connect ECONNREFUSED ::1:6500',
errno: -111,
code: 'ECONNREFUSED',
syscall: 'connect',
address: '::1',
port: 6500,
constructor: 'Function<Error>',
name: 'Error',
toString: 'Function<toString>'
},
{
stack: 'Error: connect ECONNREFUSED 127.0.0.1:6500\n' +
' at createConnectionError (node:net:1648:14)\n' +
' at afterConnectMultiple (node:net:1678:16)',
message: 'connect ECONNREFUSED 127.0.0.1:6500',
errno: -111,
code: 'ECONNREFUSED',
syscall: 'connect',
address: '127.0.0.1',
port: 6500,
constructor: 'Function<Error>',
name: 'Error',
toString: 'Function<toString>'
}
],
code: 'ECONNREFUSED',
stackStr: 'AggregateError: \n' +
' at /home/runner/work/prima/prima/node_modules/pg-pool/index.js:45:11\n' +
' at processTicksAndRejections (node:internal/process/task_queues:95:5)\n' +
' at PostgresDriver.acquireConnection (file:///home/runner/work/prima/prima/node_modules/kysely/dist/esm/dialect/postgres/postgres-driver.js:19:24)\n' +
' at RuntimeDriver.acquireConnection (file:///home/runner/work/prima/prima/node_modules/kysely/dist/esm/driver/runtime-driver.js:44:28)\n' +
' at DefaultConnectionProvider.provideConnection (file:///home/runner/work/prima/prima/node_modules/kysely/dist/esm/driver/default-connection-provider.js:8:28)\n' +
' at DefaultQueryExecutor.executeQuery (file:///home/runner/work/prima/prima/node_modules/kysely/dist/esm/query-executor/query-executor-base.js:34:16)\n' +
' at DeleteQueryBuilder.execute (file:///home/runner/work/prima/prima/node_modules/kysely/dist/esm/query-builder/delete-query-builder.js:463:24)\n' +
' at async Promise.all (index 0)\n' +
' at Module.clearDatabase (/home/runner/work/prima/prima/src/lib/testHelpers.ts:45:2)\n' +
' at /home/runner/work/prima/prima/src/routes/api/blacklisting/blacklisting.test.ts:26:3',
nameStr: 'AggregateError',
expected: 'undefined',
actual: 'undefined',
message: '',
constructor: 'Function<AggregateError>',
name: 'AggregateError',
toString: 'Function<toString>',
stacks: [
{
method: '',
file: '/home/runner/work/prima/prima/node_modules/pg-pool/index.js',
line: 45,
column: 11
},
{
method: 'PostgresDriver.acquireConnection',
file: '/home/runner/work/prima/prima/node_modules/kysely/dist/esm/dialect/postgres/postgres-driver.js',
line: 19,
column: 24
},
{
method: 'RuntimeDriver.acquireConnection',
file: '/home/runner/work/prima/prima/node_module
|
src/routes/api/blacklisting/blacklisting.test.ts > sum test > blacklisting fail, wrong busStop Zone:
src/lib/testHelpers.ts#L45
{
stack: 'AggregateError: \n' +
' at /home/runner/work/prima/prima/node_modules/pg-pool/index.js:45:11\n' +
' at processTicksAndRejections (node:internal/process/task_queues:95:5)\n' +
' at PostgresDriver.acquireConnection (file:///home/runner/work/prima/prima/node_modules/kysely/dist/esm/dialect/postgres/postgres-driver.js:19:24)\n' +
' at RuntimeDriver.acquireConnection (file:///home/runner/work/prima/prima/node_modules/kysely/dist/esm/driver/runtime-driver.js:44:28)\n' +
' at DefaultConnectionProvider.provideConnection (file:///home/runner/work/prima/prima/node_modules/kysely/dist/esm/driver/default-connection-provider.js:8:28)\n' +
' at DefaultQueryExecutor.executeQuery (file:///home/runner/work/prima/prima/node_modules/kysely/dist/esm/query-executor/query-executor-base.js:34:16)\n' +
' at DeleteQueryBuilder.execute (file:///home/runner/work/prima/prima/node_modules/kysely/dist/esm/query-builder/delete-query-builder.js:463:24)\n' +
' at async Promise.all (index 0)\n' +
' at Module.clearDatabase (/home/runner/work/prima/prima/src/lib/testHelpers.ts:45:2)\n' +
' at /home/runner/work/prima/prima/src/routes/api/blacklisting/blacklisting.test.ts:26:3',
errors: [
{
stack: 'Error: connect ECONNREFUSED ::1:6500\n' +
' at createConnectionError (node:net:1648:14)\n' +
' at afterConnectMultiple (node:net:1678:16)',
message: 'connect ECONNREFUSED ::1:6500',
errno: -111,
code: 'ECONNREFUSED',
syscall: 'connect',
address: '::1',
port: 6500,
constructor: 'Function<Error>',
name: 'Error',
toString: 'Function<toString>'
},
{
stack: 'Error: connect ECONNREFUSED 127.0.0.1:6500\n' +
' at createConnectionError (node:net:1648:14)\n' +
' at afterConnectMultiple (node:net:1678:16)',
message: 'connect ECONNREFUSED 127.0.0.1:6500',
errno: -111,
code: 'ECONNREFUSED',
syscall: 'connect',
address: '127.0.0.1',
port: 6500,
constructor: 'Function<Error>',
name: 'Error',
toString: 'Function<toString>'
}
],
code: 'ECONNREFUSED',
stackStr: 'AggregateError: \n' +
' at /home/runner/work/prima/prima/node_modules/pg-pool/index.js:45:11\n' +
' at processTicksAndRejections (node:internal/process/task_queues:95:5)\n' +
' at PostgresDriver.acquireConnection (file:///home/runner/work/prima/prima/node_modules/kysely/dist/esm/dialect/postgres/postgres-driver.js:19:24)\n' +
' at RuntimeDriver.acquireConnection (file:///home/runner/work/prima/prima/node_modules/kysely/dist/esm/driver/runtime-driver.js:44:28)\n' +
' at DefaultConnectionProvider.provideConnection (file:///home/runner/work/prima/prima/node_modules/kysely/dist/esm/driver/default-connection-provider.js:8:28)\n' +
' at DefaultQueryExecutor.executeQuery (file:///home/runner/work/prima/prima/node_modules/kysely/dist/esm/query-executor/query-executor-base.js:34:16)\n' +
' at DeleteQueryBuilder.execute (file:///home/runner/work/prima/prima/node_modules/kysely/dist/esm/query-builder/delete-query-builder.js:463:24)\n' +
' at async Promise.all (index 0)\n' +
' at Module.clearDatabase (/home/runner/work/prima/prima/src/lib/testHelpers.ts:45:2)\n' +
' at /home/runner/work/prima/prima/src/routes/api/blacklisting/blacklisting.test.ts:26:3',
nameStr: 'AggregateError',
expected: 'undefined',
actual: 'undefined',
message: '',
constructor: 'Function<AggregateError>',
name: 'AggregateError',
toString: 'Function<toString>',
stacks: [
{
method: '',
file: '/home/runner/work/prima/prima/node_modules/pg-pool/index.js',
line: 45,
column: 11
},
{
method: 'PostgresDriver.acquireConnection',
file: '/home/runner/work/prima/prima/node_modules/kysely/dist/esm/dialect/postgres/postgres-driver.js',
line: 19,
column: 24
},
{
method: 'RuntimeDriver.acquireConnection',
file: '/home/runner/work/prima/prima/node_module
|
src/routes/api/blacklisting/blacklisting.test.ts > sum test > blacklisting fail, wrong user chosen Zone:
src/lib/testHelpers.ts#L45
{
stack: 'AggregateError: \n' +
' at /home/runner/work/prima/prima/node_modules/pg-pool/index.js:45:11\n' +
' at processTicksAndRejections (node:internal/process/task_queues:95:5)\n' +
' at PostgresDriver.acquireConnection (file:///home/runner/work/prima/prima/node_modules/kysely/dist/esm/dialect/postgres/postgres-driver.js:19:24)\n' +
' at RuntimeDriver.acquireConnection (file:///home/runner/work/prima/prima/node_modules/kysely/dist/esm/driver/runtime-driver.js:44:28)\n' +
' at DefaultConnectionProvider.provideConnection (file:///home/runner/work/prima/prima/node_modules/kysely/dist/esm/driver/default-connection-provider.js:8:28)\n' +
' at DefaultQueryExecutor.executeQuery (file:///home/runner/work/prima/prima/node_modules/kysely/dist/esm/query-executor/query-executor-base.js:34:16)\n' +
' at DeleteQueryBuilder.execute (file:///home/runner/work/prima/prima/node_modules/kysely/dist/esm/query-builder/delete-query-builder.js:463:24)\n' +
' at async Promise.all (index 0)\n' +
' at Module.clearDatabase (/home/runner/work/prima/prima/src/lib/testHelpers.ts:45:2)\n' +
' at /home/runner/work/prima/prima/src/routes/api/blacklisting/blacklisting.test.ts:26:3',
errors: [
{
stack: 'Error: connect ECONNREFUSED ::1:6500\n' +
' at createConnectionError (node:net:1648:14)\n' +
' at afterConnectMultiple (node:net:1678:16)',
message: 'connect ECONNREFUSED ::1:6500',
errno: -111,
code: 'ECONNREFUSED',
syscall: 'connect',
address: '::1',
port: 6500,
constructor: 'Function<Error>',
name: 'Error',
toString: 'Function<toString>'
},
{
stack: 'Error: connect ECONNREFUSED 127.0.0.1:6500\n' +
' at createConnectionError (node:net:1648:14)\n' +
' at afterConnectMultiple (node:net:1678:16)',
message: 'connect ECONNREFUSED 127.0.0.1:6500',
errno: -111,
code: 'ECONNREFUSED',
syscall: 'connect',
address: '127.0.0.1',
port: 6500,
constructor: 'Function<Error>',
name: 'Error',
toString: 'Function<toString>'
}
],
code: 'ECONNREFUSED',
stackStr: 'AggregateError: \n' +
' at /home/runner/work/prima/prima/node_modules/pg-pool/index.js:45:11\n' +
' at processTicksAndRejections (node:internal/process/task_queues:95:5)\n' +
' at PostgresDriver.acquireConnection (file:///home/runner/work/prima/prima/node_modules/kysely/dist/esm/dialect/postgres/postgres-driver.js:19:24)\n' +
' at RuntimeDriver.acquireConnection (file:///home/runner/work/prima/prima/node_modules/kysely/dist/esm/driver/runtime-driver.js:44:28)\n' +
' at DefaultConnectionProvider.provideConnection (file:///home/runner/work/prima/prima/node_modules/kysely/dist/esm/driver/default-connection-provider.js:8:28)\n' +
' at DefaultQueryExecutor.executeQuery (file:///home/runner/work/prima/prima/node_modules/kysely/dist/esm/query-executor/query-executor-base.js:34:16)\n' +
' at DeleteQueryBuilder.execute (file:///home/runner/work/prima/prima/node_modules/kysely/dist/esm/query-builder/delete-query-builder.js:463:24)\n' +
' at async Promise.all (index 0)\n' +
' at Module.clearDatabase (/home/runner/work/prima/prima/src/lib/testHelpers.ts:45:2)\n' +
' at /home/runner/work/prima/prima/src/routes/api/blacklisting/blacklisting.test.ts:26:3',
nameStr: 'AggregateError',
expected: 'undefined',
actual: 'undefined',
message: '',
constructor: 'Function<AggregateError>',
name: 'AggregateError',
toString: 'Function<toString>',
stacks: [
{
method: '',
file: '/home/runner/work/prima/prima/node_modules/pg-pool/index.js',
line: 45,
column: 11
},
{
method: 'PostgresDriver.acquireConnection',
file: '/home/runner/work/prima/prima/node_modules/kysely/dist/esm/dialect/postgres/postgres-driver.js',
line: 19,
column: 24
},
{
method: 'RuntimeDriver.acquireConnection',
file: '/home/runner/work/prima/prima/node_module
|
src/routes/api/blacklisting/blacklisting.test.ts > sum test > blacklisting fail, too many passengers:
src/lib/testHelpers.ts#L45
{
stack: 'AggregateError: \n' +
' at /home/runner/work/prima/prima/node_modules/pg-pool/index.js:45:11\n' +
' at processTicksAndRejections (node:internal/process/task_queues:95:5)\n' +
' at PostgresDriver.acquireConnection (file:///home/runner/work/prima/prima/node_modules/kysely/dist/esm/dialect/postgres/postgres-driver.js:19:24)\n' +
' at RuntimeDriver.acquireConnection (file:///home/runner/work/prima/prima/node_modules/kysely/dist/esm/driver/runtime-driver.js:44:28)\n' +
' at DefaultConnectionProvider.provideConnection (file:///home/runner/work/prima/prima/node_modules/kysely/dist/esm/driver/default-connection-provider.js:8:28)\n' +
' at DefaultQueryExecutor.executeQuery (file:///home/runner/work/prima/prima/node_modules/kysely/dist/esm/query-executor/query-executor-base.js:34:16)\n' +
' at DeleteQueryBuilder.execute (file:///home/runner/work/prima/prima/node_modules/kysely/dist/esm/query-builder/delete-query-builder.js:463:24)\n' +
' at async Promise.all (index 0)\n' +
' at Module.clearDatabase (/home/runner/work/prima/prima/src/lib/testHelpers.ts:45:2)\n' +
' at /home/runner/work/prima/prima/src/routes/api/blacklisting/blacklisting.test.ts:26:3',
errors: [
{
stack: 'Error: connect ECONNREFUSED ::1:6500\n' +
' at createConnectionError (node:net:1648:14)\n' +
' at afterConnectMultiple (node:net:1678:16)',
message: 'connect ECONNREFUSED ::1:6500',
errno: -111,
code: 'ECONNREFUSED',
syscall: 'connect',
address: '::1',
port: 6500,
constructor: 'Function<Error>',
name: 'Error',
toString: 'Function<toString>'
},
{
stack: 'Error: connect ECONNREFUSED 127.0.0.1:6500\n' +
' at createConnectionError (node:net:1648:14)\n' +
' at afterConnectMultiple (node:net:1678:16)',
message: 'connect ECONNREFUSED 127.0.0.1:6500',
errno: -111,
code: 'ECONNREFUSED',
syscall: 'connect',
address: '127.0.0.1',
port: 6500,
constructor: 'Function<Error>',
name: 'Error',
toString: 'Function<toString>'
}
],
code: 'ECONNREFUSED',
stackStr: 'AggregateError: \n' +
' at /home/runner/work/prima/prima/node_modules/pg-pool/index.js:45:11\n' +
' at processTicksAndRejections (node:internal/process/task_queues:95:5)\n' +
' at PostgresDriver.acquireConnection (file:///home/runner/work/prima/prima/node_modules/kysely/dist/esm/dialect/postgres/postgres-driver.js:19:24)\n' +
' at RuntimeDriver.acquireConnection (file:///home/runner/work/prima/prima/node_modules/kysely/dist/esm/driver/runtime-driver.js:44:28)\n' +
' at DefaultConnectionProvider.provideConnection (file:///home/runner/work/prima/prima/node_modules/kysely/dist/esm/driver/default-connection-provider.js:8:28)\n' +
' at DefaultQueryExecutor.executeQuery (file:///home/runner/work/prima/prima/node_modules/kysely/dist/esm/query-executor/query-executor-base.js:34:16)\n' +
' at DeleteQueryBuilder.execute (file:///home/runner/work/prima/prima/node_modules/kysely/dist/esm/query-builder/delete-query-builder.js:463:24)\n' +
' at async Promise.all (index 0)\n' +
' at Module.clearDatabase (/home/runner/work/prima/prima/src/lib/testHelpers.ts:45:2)\n' +
' at /home/runner/work/prima/prima/src/routes/api/blacklisting/blacklisting.test.ts:26:3',
nameStr: 'AggregateError',
expected: 'undefined',
actual: 'undefined',
message: '',
constructor: 'Function<AggregateError>',
name: 'AggregateError',
toString: 'Function<toString>',
stacks: [
{
method: '',
file: '/home/runner/work/prima/prima/node_modules/pg-pool/index.js',
line: 45,
column: 11
},
{
method: 'PostgresDriver.acquireConnection',
file: '/home/runner/work/prima/prima/node_modules/kysely/dist/esm/dialect/postgres/postgres-driver.js',
line: 19,
column: 24
},
{
method: 'RuntimeDriver.acquireConnection',
file: '/home/runner/work/prima/prima/node_module
|
src/routes/api/blacklisting/blacklisting.test.ts > sum test > blacklisting fail, too many bikes:
src/lib/testHelpers.ts#L45
{
stack: 'AggregateError: \n' +
' at /home/runner/work/prima/prima/node_modules/pg-pool/index.js:45:11\n' +
' at processTicksAndRejections (node:internal/process/task_queues:95:5)\n' +
' at PostgresDriver.acquireConnection (file:///home/runner/work/prima/prima/node_modules/kysely/dist/esm/dialect/postgres/postgres-driver.js:19:24)\n' +
' at RuntimeDriver.acquireConnection (file:///home/runner/work/prima/prima/node_modules/kysely/dist/esm/driver/runtime-driver.js:44:28)\n' +
' at DefaultConnectionProvider.provideConnection (file:///home/runner/work/prima/prima/node_modules/kysely/dist/esm/driver/default-connection-provider.js:8:28)\n' +
' at DefaultQueryExecutor.executeQuery (file:///home/runner/work/prima/prima/node_modules/kysely/dist/esm/query-executor/query-executor-base.js:34:16)\n' +
' at DeleteQueryBuilder.execute (file:///home/runner/work/prima/prima/node_modules/kysely/dist/esm/query-builder/delete-query-builder.js:463:24)\n' +
' at async Promise.all (index 0)\n' +
' at Module.clearDatabase (/home/runner/work/prima/prima/src/lib/testHelpers.ts:45:2)\n' +
' at /home/runner/work/prima/prima/src/routes/api/blacklisting/blacklisting.test.ts:26:3',
errors: [
{
stack: 'Error: connect ECONNREFUSED ::1:6500\n' +
' at createConnectionError (node:net:1648:14)\n' +
' at afterConnectMultiple (node:net:1678:16)',
message: 'connect ECONNREFUSED ::1:6500',
errno: -111,
code: 'ECONNREFUSED',
syscall: 'connect',
address: '::1',
port: 6500,
constructor: 'Function<Error>',
name: 'Error',
toString: 'Function<toString>'
},
{
stack: 'Error: connect ECONNREFUSED 127.0.0.1:6500\n' +
' at createConnectionError (node:net:1648:14)\n' +
' at afterConnectMultiple (node:net:1678:16)',
message: 'connect ECONNREFUSED 127.0.0.1:6500',
errno: -111,
code: 'ECONNREFUSED',
syscall: 'connect',
address: '127.0.0.1',
port: 6500,
constructor: 'Function<Error>',
name: 'Error',
toString: 'Function<toString>'
}
],
code: 'ECONNREFUSED',
stackStr: 'AggregateError: \n' +
' at /home/runner/work/prima/prima/node_modules/pg-pool/index.js:45:11\n' +
' at processTicksAndRejections (node:internal/process/task_queues:95:5)\n' +
' at PostgresDriver.acquireConnection (file:///home/runner/work/prima/prima/node_modules/kysely/dist/esm/dialect/postgres/postgres-driver.js:19:24)\n' +
' at RuntimeDriver.acquireConnection (file:///home/runner/work/prima/prima/node_modules/kysely/dist/esm/driver/runtime-driver.js:44:28)\n' +
' at DefaultConnectionProvider.provideConnection (file:///home/runner/work/prima/prima/node_modules/kysely/dist/esm/driver/default-connection-provider.js:8:28)\n' +
' at DefaultQueryExecutor.executeQuery (file:///home/runner/work/prima/prima/node_modules/kysely/dist/esm/query-executor/query-executor-base.js:34:16)\n' +
' at DeleteQueryBuilder.execute (file:///home/runner/work/prima/prima/node_modules/kysely/dist/esm/query-builder/delete-query-builder.js:463:24)\n' +
' at async Promise.all (index 0)\n' +
' at Module.clearDatabase (/home/runner/work/prima/prima/src/lib/testHelpers.ts:45:2)\n' +
' at /home/runner/work/prima/prima/src/routes/api/blacklisting/blacklisting.test.ts:26:3',
nameStr: 'AggregateError',
expected: 'undefined',
actual: 'undefined',
message: '',
constructor: 'Function<AggregateError>',
name: 'AggregateError',
toString: 'Function<toString>',
stacks: [
{
method: '',
file: '/home/runner/work/prima/prima/node_modules/pg-pool/index.js',
line: 45,
column: 11
},
{
method: 'PostgresDriver.acquireConnection',
file: '/home/runner/work/prima/prima/node_modules/kysely/dist/esm/dialect/postgres/postgres-driver.js',
line: 19,
column: 24
},
{
method: 'RuntimeDriver.acquireConnection',
file: '/home/runner/work/prima/prima/node_module
|
src/routes/api/blacklisting/blacklisting.test.ts > sum test > blacklisting fail, too many wheelchairs:
src/lib/testHelpers.ts#L45
{
stack: 'AggregateError: \n' +
' at /home/runner/work/prima/prima/node_modules/pg-pool/index.js:45:11\n' +
' at processTicksAndRejections (node:internal/process/task_queues:95:5)\n' +
' at PostgresDriver.acquireConnection (file:///home/runner/work/prima/prima/node_modules/kysely/dist/esm/dialect/postgres/postgres-driver.js:19:24)\n' +
' at RuntimeDriver.acquireConnection (file:///home/runner/work/prima/prima/node_modules/kysely/dist/esm/driver/runtime-driver.js:44:28)\n' +
' at DefaultConnectionProvider.provideConnection (file:///home/runner/work/prima/prima/node_modules/kysely/dist/esm/driver/default-connection-provider.js:8:28)\n' +
' at DefaultQueryExecutor.executeQuery (file:///home/runner/work/prima/prima/node_modules/kysely/dist/esm/query-executor/query-executor-base.js:34:16)\n' +
' at DeleteQueryBuilder.execute (file:///home/runner/work/prima/prima/node_modules/kysely/dist/esm/query-builder/delete-query-builder.js:463:24)\n' +
' at async Promise.all (index 0)\n' +
' at Module.clearDatabase (/home/runner/work/prima/prima/src/lib/testHelpers.ts:45:2)\n' +
' at /home/runner/work/prima/prima/src/routes/api/blacklisting/blacklisting.test.ts:26:3',
errors: [
{
stack: 'Error: connect ECONNREFUSED ::1:6500\n' +
' at createConnectionError (node:net:1648:14)\n' +
' at afterConnectMultiple (node:net:1678:16)',
message: 'connect ECONNREFUSED ::1:6500',
errno: -111,
code: 'ECONNREFUSED',
syscall: 'connect',
address: '::1',
port: 6500,
constructor: 'Function<Error>',
name: 'Error',
toString: 'Function<toString>'
},
{
stack: 'Error: connect ECONNREFUSED 127.0.0.1:6500\n' +
' at createConnectionError (node:net:1648:14)\n' +
' at afterConnectMultiple (node:net:1678:16)',
message: 'connect ECONNREFUSED 127.0.0.1:6500',
errno: -111,
code: 'ECONNREFUSED',
syscall: 'connect',
address: '127.0.0.1',
port: 6500,
constructor: 'Function<Error>',
name: 'Error',
toString: 'Function<toString>'
}
],
code: 'ECONNREFUSED',
stackStr: 'AggregateError: \n' +
' at /home/runner/work/prima/prima/node_modules/pg-pool/index.js:45:11\n' +
' at processTicksAndRejections (node:internal/process/task_queues:95:5)\n' +
' at PostgresDriver.acquireConnection (file:///home/runner/work/prima/prima/node_modules/kysely/dist/esm/dialect/postgres/postgres-driver.js:19:24)\n' +
' at RuntimeDriver.acquireConnection (file:///home/runner/work/prima/prima/node_modules/kysely/dist/esm/driver/runtime-driver.js:44:28)\n' +
' at DefaultConnectionProvider.provideConnection (file:///home/runner/work/prima/prima/node_modules/kysely/dist/esm/driver/default-connection-provider.js:8:28)\n' +
' at DefaultQueryExecutor.executeQuery (file:///home/runner/work/prima/prima/node_modules/kysely/dist/esm/query-executor/query-executor-base.js:34:16)\n' +
' at DeleteQueryBuilder.execute (file:///home/runner/work/prima/prima/node_modules/kysely/dist/esm/query-builder/delete-query-builder.js:463:24)\n' +
' at async Promise.all (index 0)\n' +
' at Module.clearDatabase (/home/runner/work/prima/prima/src/lib/testHelpers.ts:45:2)\n' +
' at /home/runner/work/prima/prima/src/routes/api/blacklisting/blacklisting.test.ts:26:3',
nameStr: 'AggregateError',
expected: 'undefined',
actual: 'undefined',
message: '',
constructor: 'Function<AggregateError>',
name: 'AggregateError',
toString: 'Function<toString>',
stacks: [
{
method: '',
file: '/home/runner/work/prima/prima/node_modules/pg-pool/index.js',
line: 45,
column: 11
},
{
method: 'PostgresDriver.acquireConnection',
file: '/home/runner/work/prima/prima/node_modules/kysely/dist/esm/dialect/postgres/postgres-driver.js',
line: 19,
column: 24
},
{
method: 'RuntimeDriver.acquireConnection',
file: '/home/runner/work/prima/prima/node_module
|