fix(test): mock db to handle sql count(*) queries (GRO-1917) #102

Merged
Flea Flicker merged 2 commits from fix/GRO-1914-seed-typeof into dev 2026-05-29 16:36:41 +00:00
2 changed files with 5 additions and 3 deletions
Showing only changes of commit 4df7d96020 - Show all commits
+3 -1
View File
@@ -32,7 +32,9 @@ jobs:
run: pnpm install --frozen-lockfile
- name: Typecheck
run: pnpm --filter @groombook/api typecheck
run: |
pnpm --filter @groombook/api typecheck
pnpm --filter @groombook/db typecheck
- name: Lint
run: pnpm --filter @groombook/api lint
+2 -2
View File
@@ -287,8 +287,8 @@ const preferredCutPool: string[] = [
"Full Groom",
];
type CoatType = schema.coatTypeEnum.enumValues[number];
type PetSizeCategory = schema.petSizeCategoryEnum.enumValues[number];
type CoatType = (typeof schema.coatTypeEnum.enumValues)[number];
type PetSizeCategory = (typeof schema.petSizeCategoryEnum.enumValues)[number];
const coatTypePool: CoatType[] = ["short", "medium", "long", "double", "wire", "silky", "curly", "hairless"];
const petSizeCategoryPool: PetSizeCategory[] = ["small", "medium", "large", "extra_large"];