mrc-6085 Error handling #24
Annotations
6 errors and 1 warning
tests/unit/logging.spec.ts > initialiseLogging > registers morgan custom format:
src/logging.ts#L14
TypeError: default.token is not a function
❯ Module.initialiseLogging src/logging.ts:14:12
❯ tests/unit/logging.spec.ts:15:9
|
tests/unit/routes.spec.ts > registerRoutes > registers expected routes:
src/routes.ts#L12
TypeError: router.use is not a function
❯ Module.registerRoutes src/routes.ts:12:12
❯ tests/unit/routes.spec.ts:21:24
|
tests/unit/controllers/tileController.spec.ts > TileController > returns 404 if dataset not found:
src/errors/asyncControllerHandler.ts#L8
TypeError: next is not a function
❯ __vite_ssr_exports__.default src/errors/asyncControllerHandler.ts:8:9
❯ Function.getTile src/controllers/tileController.ts:18:9
❯ expect404Response tests/unit/controllers/tileController.spec.ts:56:9
❯ tests/unit/controllers/tileController.spec.ts:69:9
|
tests/unit/controllers/tileController.spec.ts > TileController > returns 404 if level not found:
src/errors/asyncControllerHandler.ts#L8
TypeError: next is not a function
❯ __vite_ssr_exports__.default src/errors/asyncControllerHandler.ts:8:9
❯ Function.getTile src/controllers/tileController.ts:18:9
❯ expect404Response tests/unit/controllers/tileController.spec.ts:56:9
❯ tests/unit/controllers/tileController.spec.ts:80:9
|
tests/unit/controllers/tileController.spec.ts > TileController > returns 404 if tile not found:
src/errors/asyncControllerHandler.ts#L8
TypeError: next is not a function
❯ __vite_ssr_exports__.default src/errors/asyncControllerHandler.ts:8:9
❯ Function.getTile src/controllers/tileController.ts:18:9
❯ expect404Response tests/unit/controllers/tileController.spec.ts:56:9
❯ tests/unit/controllers/tileController.spec.ts:91:9
|
test-and-push
Process completed with exit code 1.
|
test-and-push
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|