From cddbe00ab3495c7167e5ea53f2a0ff9c76dca34f Mon Sep 17 00:00:00 2001 From: AmauryD Date: Sat, 21 Oct 2023 11:35:48 +0200 Subject: [PATCH] use alpha package instead of local package --- app/components/inputs/select-validation.gts | 2 +- app/services/error-handler.ts | 2 +- package.json | 6 +- pnpm-lock.yaml | 162 ++++++++++---------- tests/unit/routes/application-test.ts | 13 -- tests/unit/routes/login-test.ts | 13 -- 6 files changed, 83 insertions(+), 115 deletions(-) delete mode 100644 tests/unit/routes/application-test.ts delete mode 100644 tests/unit/routes/login-test.ts diff --git a/app/components/inputs/select-validation.gts b/app/components/inputs/select-validation.gts index 051a14a..48a77d2 100644 --- a/app/components/inputs/select-validation.gts +++ b/app/components/inputs/select-validation.gts @@ -35,7 +35,7 @@ function isArray(value: unknown): value is unknown[] { // eslint-disable-next-line @typescript-eslint/no-unused-vars function toString(value: unknown): string { - return String(value); + return String(value ?? ''); } const InputsSelectValidationComponent: TOC =