54 lines
2.3 KiB
Plaintext
54 lines
2.3 KiB
Plaintext
|
|
✔ el puerto usa un valor local por defecto y acepta los límites válidos (1.748516ms)
|
|||
|
|
✔ el arranque rechaza puertos inválidos sin revelar el valor recibido (1.708216ms)
|
|||
|
|
✖ proxy: sin configuración no se confía en cabeceras y producción exige proxies explícitos (1.780817ms)
|
|||
|
|
✖ proxy: rechaza confianza universal, saltos, alias, hosts y redes inválidas sin revelar valores (0.356204ms)
|
|||
|
|
ℹ tests 4
|
|||
|
|
ℹ suites 0
|
|||
|
|
ℹ pass 2
|
|||
|
|
ℹ fail 2
|
|||
|
|
ℹ cancelled 0
|
|||
|
|
ℹ skipped 0
|
|||
|
|
ℹ todo 0
|
|||
|
|
ℹ duration_ms 257.934663
|
|||
|
|
|
|||
|
|
✖ failing tests:
|
|||
|
|
|
|||
|
|
test at apps/server/src/config/env-schema.test.ts:1:650
|
|||
|
|
✖ proxy: sin configuración no se confía en cabeceras y producción exige proxies explícitos (1.780817ms)
|
|||
|
|
AssertionError [ERR_ASSERTION]: Expected values to be strictly deep-equal:
|
|||
|
|
|
|||
|
|
undefined !== []
|
|||
|
|
|
|||
|
|
at TestContext.<anonymous> (/home/david/dev/metis-desk/apps/server/src/config/env-schema.test.ts:20:10)
|
|||
|
|
at Test.runInAsyncScope (node:async_hooks:227:14)
|
|||
|
|
at Test.run (node:internal/test_runner/test:1397:25)
|
|||
|
|
at Test.processPendingSubtests (node:internal/test_runner/test:969:18)
|
|||
|
|
at Test.postRun (node:internal/test_runner/test:1537:19)
|
|||
|
|
at Test.run (node:internal/test_runner/test:1462:12)
|
|||
|
|
at async Test.processPendingSubtests (node:internal/test_runner/test:969:7) {
|
|||
|
|
generatedMessage: true,
|
|||
|
|
code: 'ERR_ASSERTION',
|
|||
|
|
actual: undefined,
|
|||
|
|
expected: [],
|
|||
|
|
operator: 'deepStrictEqual',
|
|||
|
|
diff: 'simple'
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
test at apps/server/src/config/env-schema.test.ts:1:1092
|
|||
|
|
✖ proxy: rechaza confianza universal, saltos, alias, hosts y redes inválidas sin revelar valores (0.356204ms)
|
|||
|
|
AssertionError [ERR_ASSERTION]: Missing expected exception.
|
|||
|
|
at TestContext.<anonymous> (/home/david/dev/metis-desk/apps/server/src/config/env-schema.test.ts:36:12)
|
|||
|
|
at Test.runInAsyncScope (node:async_hooks:227:14)
|
|||
|
|
at Test.run (node:internal/test_runner/test:1397:25)
|
|||
|
|
at Test.processPendingSubtests (node:internal/test_runner/test:969:18)
|
|||
|
|
at Test.postRun (node:internal/test_runner/test:1537:19)
|
|||
|
|
at Test.run (node:internal/test_runner/test:1462:12)
|
|||
|
|
at async Test.processPendingSubtests (node:internal/test_runner/test:969:7) {
|
|||
|
|
generatedMessage: false,
|
|||
|
|
code: 'ERR_ASSERTION',
|
|||
|
|
actual: undefined,
|
|||
|
|
expected: [Function (anonymous)],
|
|||
|
|
operator: 'throws',
|
|||
|
|
diff: 'simple'
|
|||
|
|
}
|